Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libutil WARNS=2 fix



details:   https://anonhg.NetBSD.org/src/rev/c1ff36be63d0
branches:  trunk
changeset: 517028:c1ff36be63d0
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Nov 05 15:03:49 2001 +0000

description:
WARNS=2 fix

diffstat:

 lib/libutil/passwd.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 783c8cf2373e -r c1ff36be63d0 lib/libutil/passwd.c
--- a/lib/libutil/passwd.c      Mon Nov 05 14:59:21 2001 +0000
+++ b/lib/libutil/passwd.c      Mon Nov 05 15:03:49 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: passwd.c,v 1.31 2001/10/23 00:25:21 lukem Exp $        */
+/*     $NetBSD: passwd.c,v 1.32 2001/11/05 15:03:49 lukem Exp $        */
 
 /*
  * Copyright (c) 1987, 1993, 1994, 1995
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: passwd.c,v 1.31 2001/10/23 00:25:21 lukem Exp $");
+__RCSID("$NetBSD: passwd.c,v 1.32 2001/11/05 15:03:49 lukem Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
@@ -398,10 +398,10 @@
 }
 
 void
-pw_error(const char *name, int err, int eval)
+pw_error(const char *name, int error, int eval)
 {
 
-       if (err) {
+       if (error) {
                if (name)
                        warn("%s", name);
                else



Home | Main Index | Thread Index | Old Index