summaryrefslogtreecommitdiff
path: root/usr.sbin/ypbind
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-08-02 04:13:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-08-02 04:13:38 +0000
commitb2780b6ec5032d0e1a9c0fe60d1774b4e0982884 (patch)
treebd623c911707827f791aa026f56e858cb8820b57 /usr.sbin/ypbind
parent266a89954ca01506d55cea7983390f3863a6654b (diff)
usage() has to exit 1; Gleydson Soares
Diffstat (limited to 'usr.sbin/ypbind')
-rw-r--r--usr.sbin/ypbind/ypbind.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c
index dbe7862788f..5be7afbeb35 100644
--- a/usr.sbin/ypbind/ypbind.c
+++ b/usr.sbin/ypbind/ypbind.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypbind.c,v 1.57 2007/10/09 14:40:15 deraadt Exp $ */
+/* $OpenBSD: ypbind.c,v 1.58 2008/08/02 04:13:37 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993, 1996, 1997, 1998 Theo de Raadt <deraadt@openbsd.org>
@@ -27,7 +27,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: ypbind.c,v 1.57 2007/10/09 14:40:15 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ypbind.c,v 1.58 2008/08/02 04:13:37 deraadt Exp $";
#endif
#include <sys/param.h>
@@ -334,7 +334,7 @@ static void
usage(void)
{
fprintf(stderr, "usage: ypbind [-insecure] [-ypset] [-ypsetme]\n");
- exit(0);
+ exit(1);
}
int