1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

Change the errx(0,...) to errx(1,...)

Submitted by:	Mike Murphy <mrm@alpharel.com>
This commit is contained in:
Jordan K. Hubbard 1995-09-08 20:33:21 +00:00
parent 11d2504079
commit b7935a74ba
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10645

View File

@ -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);