summaryrefslogtreecommitdiffstats
path: root/usr.bin/ruptime
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-09-08 20:33:21 +0000
committerjkh <jkh@FreeBSD.org>1995-09-08 20:33:21 +0000
commit986656d2a299d3d7992763611771f8e4b254f328 (patch)
tree3b656b74224327014ee5dcf332e92cccb6078f1f /usr.bin/ruptime
parentba0e1a6224e996289d02b9e88c91868438706b66 (diff)
downloadFreeBSD-src-986656d2a299d3d7992763611771f8e4b254f328.zip
FreeBSD-src-986656d2a299d3d7992763611771f8e4b254f328.tar.gz
Change the errx(0,...) to errx(1,...)
Submitted by: Mike Murphy <mrm@alpharel.com>
Diffstat (limited to 'usr.bin/ruptime')
-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 ba8cda5..ba02fdb 100644
--- a/usr.bin/ruptime/ruptime.c
+++ b/usr.bin/ruptime/ruptime.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*/
-/* $Id: ruptime.c,v 1.4 1995/07/22 22:28:31 joerg Exp $ */
+/* $Id: ruptime.c,v 1.5 1995/08/07 19:17:40 wollman 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);
OpenPOWER on IntegriCloud