summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2003-05-19 05:15:40 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2003-05-19 05:15:40 +0000
commitf5ac7af4073c2065c8b1c22f1c1aa65f322e1246 (patch)
tree1ee4abc017bf9a9788756253a15ec443516a2f8f
parentb933e3d089d8ecca405dabbd601c953b9d4c7915 (diff)
Fix warnx message to reflect reality.
-rw-r--r--bin/ps/nlist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ps/nlist.c b/bin/ps/nlist.c
index 2421d732757..6550b01df81 100644
--- a/bin/ps/nlist.c
+++ b/bin/ps/nlist.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nlist.c,v 1.11 2003/03/21 15:56:55 drahn Exp $ */
+/* $OpenBSD: nlist.c,v 1.12 2003/05/19 05:15:39 art Exp $ */
/* $NetBSD: nlist.c,v 1.11 1995/03/21 09:08:03 cgd Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)nlist.c 8.4 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: nlist.c,v 1.11 2003/03/21 15:56:55 drahn Exp $";
+static char rcsid[] = "$OpenBSD: nlist.c,v 1.12 2003/05/19 05:15:39 art Exp $";
#endif
#endif /* not lint */
@@ -126,7 +126,7 @@ donlist()
mib[0] = CTL_HW;
mib[1] = HW_PHYSMEM;
if (sysctl(mib, 2, &mempages, &siz, NULL, 0) < 0) {
- warnx("avail_start: failed to get hw.physmem");
+ warnx("physmem: failed to get hw.physmem");
eval = rval = 1;
}
mempages /= getpagesize(); /* translate bytes into page count */