Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/getconf fix an error message



details:   https://anonhg.NetBSD.org/src/rev/b78faa26800f
branches:  trunk
changeset: 571035:b78faa26800f
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Nov 10 00:29:07 2004 +0000

description:
fix an error message

diffstat:

 usr.bin/getconf/getconf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 32c94f6ea68f -r b78faa26800f usr.bin/getconf/getconf.c
--- a/usr.bin/getconf/getconf.c Tue Nov 09 19:36:51 2004 +0000
+++ b/usr.bin/getconf/getconf.c Wed Nov 10 00:29:07 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getconf.c,v 1.20 2003/02/02 20:33:10 kleink Exp $      */
+/*     $NetBSD: getconf.c,v 1.21 2004/11/10 00:29:07 lukem Exp $       */
 
 /*-
  * Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: getconf.c,v 1.20 2003/02/02 20:33:10 kleink Exp $");
+__RCSID("$NetBSD: getconf.c,v 1.21 2004/11/10 00:29:07 lukem Exp $");
 #endif /* not lint */
 
 #include <err.h>
@@ -232,7 +232,7 @@
                errno = 0;
                if ((val = sysconf(cp->value)) == -1) {
                        if (errno != 0) {
-                               err(1, "malloc");
+                               err(1, "sysconf");
                                /* NOTREACHED */
                        }
 



Home | Main Index | Thread Index | Old Index