summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2008-08-02 04:13:37 +0000
committerderaadt <deraadt@openbsd.org>2008-08-02 04:13:37 +0000
commit1ac021b5fc567c48781ec04af2cdb64dfe0a8fe7 (patch)
tree7c7074ecbcf08ffccb9d7c748a9ad202ee96ffda
parentDocument the MAKEFILE variable as unreliable. (diff)
downloadwireguard-openbsd-1ac021b5fc567c48781ec04af2cdb64dfe0a8fe7.tar.xz
wireguard-openbsd-1ac021b5fc567c48781ec04af2cdb64dfe0a8fe7.zip
usage() has to exit 1; Gleydson Soares
-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