aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-10-06 02:00:09 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-10-06 02:00:09 +0000
commit697887804a66c875c44e44504f4c6c36b809e41a (patch)
treeaca156233562e561b745cebcd19e5cdabc599ca2 /usr.bin
parent31278d3589ecadba84a12ae2c2cc0d45284bc9e8 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ruptime/ruptime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ruptime/ruptime.c b/usr.bin/ruptime/ruptime.c
index 3ce08fd42e670..27ca0938be313 100644
--- a/usr.bin/ruptime/ruptime.c
+++ b/usr.bin/ruptime/ruptime.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*/
-/* $Id: ruptime.c,v 1.5 1995/08/07 19:17:40 wollman Exp $ */
+/* $Id: ruptime.c,v 1.6 1995/09/08 20:33:21 jkh Exp $ */
#ifndef lint
static char copyright[] =
@@ -161,7 +161,7 @@ main(argc, argv)
++nhosts;
}
if (nhosts == 0)
- errx(0, "no hosts in %s.", _PATH_RWHODIR);
+ errx(1, "no hosts in %s.", _PATH_RWHODIR);
(void)time(&now);
qsort(hs, nhosts, sizeof(hs[0]), cmp);