Module Name:    src
Committed By:   christos
Date:           Wed Sep  6 22:08:38 UTC 2023

Modified Files:
        src/libexec/mail.local: mail.local.c

Log Message:
use the correct constant


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/libexec/mail.local/mail.local.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/mail.local/mail.local.c
diff -u src/libexec/mail.local/mail.local.c:1.32 src/libexec/mail.local/mail.local.c:1.33
--- src/libexec/mail.local/mail.local.c:1.32	Wed Sep  6 18:08:06 2023
+++ src/libexec/mail.local/mail.local.c	Wed Sep  6 18:08:38 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: mail.local.c,v 1.32 2023/09/06 22:08:06 christos Exp $	*/
+/*	$NetBSD: mail.local.c,v 1.33 2023/09/06 22:08:38 christos Exp $	*/
 
 /*-
  * Copyright (c) 1990, 1993, 1994
@@ -36,7 +36,7 @@ __COPYRIGHT("@(#) Copyright (c) 1990, 19
 #if 0
 static char sccsid[] = "@(#)mail.local.c	8.22 (Berkeley) 6/21/95";
 #else
-__RCSID("$NetBSD: mail.local.c,v 1.32 2023/09/06 22:08:06 christos Exp $");
+__RCSID("$NetBSD: mail.local.c,v 1.33 2023/09/06 22:08:38 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -197,7 +197,7 @@ deliver(int fd, char *name, int lockfile
 	struct stat sb, nsb;
 	struct passwd pwres, *pw;
 	char pwbuf[1024];
-	int created = 0, mbfd = -1, nr, nw, off, rval = EX_ERR, lfd = -1;
+	int created = 0, mbfd = -1, nr, nw, off, rval = EX_OSERR, lfd = -1;
 	char biffmsg[100], buf[8*1024], path[MAXPATHLEN], lpath[MAXPATHLEN];
 	off_t curoff;
 

Reply via email to