diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 1998-05-27 14:04:38 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 1998-05-27 14:04:38 +0000 |
commit | 068f8619d054def9688624954f6ab3784550b0ac (patch) | |
tree | 632531f44368d0305e5bebca3f103f359f4cd5f7 /usr.sbin/chkgrp/chkgrp.c | |
parent | dce52a9c00935d86ce443b87da127c8c2635b543 (diff) |
Typo police. '#ifndef lint' around CVS id. Don't use __progname in usage().
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
Notes
Notes:
svn path=/head/; revision=36416
Diffstat (limited to 'usr.sbin/chkgrp/chkgrp.c')
-rw-r--r-- | usr.sbin/chkgrp/chkgrp.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/usr.sbin/chkgrp/chkgrp.c b/usr.sbin/chkgrp/chkgrp.c index 01a87d79429b..180630166046 100644 --- a/usr.sbin/chkgrp/chkgrp.c +++ b/usr.sbin/chkgrp/chkgrp.c @@ -12,7 +12,7 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products - * derived from this software withough specific prior written permission + * derived from this software without specific prior written permission * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -24,25 +24,23 @@ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * $Id$ */ -static const char CVSID[] = "$Id$"; +#ifndef lint +static const char rcsid[] = + "$Id$"; +#endif /* not lint */ #include <err.h> #include <ctype.h> #include <stdio.h> -#include <stdlib.h> #include <string.h> #include <sysexits.h> -extern char *__progname; - void usage(void) { - fprintf(stderr, "usage: %s [groupfile]\n", __progname); + fprintf(stderr, "usage: chkgrp [groupfile]\n"); exit(EX_USAGE); } |