From: deraadt Date: Sat, 2 Aug 2008 04:13:37 +0000 (+0000) Subject: usage() has to exit 1; Gleydson Soares X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1ac021b5fc567c48781ec04af2cdb64dfe0a8fe7;p=openbsd usage() has to exit 1; Gleydson Soares --- 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 @@ -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 @@ -334,7 +334,7 @@ static void usage(void) { fprintf(stderr, "usage: ypbind [-insecure] [-ypset] [-ypsetme]\n"); - exit(0); + exit(1); } int