summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2007-02-04 15:01:12 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2007-02-04 15:01:12 +0000
commitd7027b3d07b45c6e77a9e73a82fa3eedca092bd4 (patch)
tree239f39e6e6c21677919b6b78d7ee707a9ba5cb0a /usr.bin
parent7b28c01fd3b8aed3eeccb2fdf96e7d8a1139d9a1 (diff)
actully use a default value when we say so. from Mark Lumsden
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/top/top.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/top/top.c b/usr.bin/top/top.c
index f70f6987a3d..a566cfa7ea6 100644
--- a/usr.bin/top/top.c
+++ b/usr.bin/top/top.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: top.c,v 1.45 2007/01/03 18:57:49 otto Exp $ */
+/* $OpenBSD: top.c,v 1.46 2007/02/04 15:01:11 otto Exp $ */
/*
* Top users/processes display for Unix
@@ -253,6 +253,7 @@ parseargs(int ac, char **av)
warnx("warning: process display count should "
"be non-negative -- using default");
warnings++;
+ topn = Infinity;
}
#if Default_TOPN == Infinity
else