Skip to content

Commit

Permalink
do the -g -G swap for real.
Browse files Browse the repository at this point in the history
  • Loading branch information
christos committed Mar 4, 2008
1 parent 3af5e75 commit 9116675
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bin/df/df.c
@@ -1,4 +1,4 @@
/* $NetBSD: df.c,v 1.80 2008/03/04 17:59:55 christos Exp $ */
/* $NetBSD: df.c,v 1.81 2008/03/04 18:55:57 christos Exp $ */

/*
* Copyright (c) 1980, 1990, 1993, 1994
Expand Down Expand Up @@ -45,7 +45,7 @@ __COPYRIGHT(
#if 0
static char sccsid[] = "@(#)df.c 8.7 (Berkeley) 4/2/94";
#else
__RCSID("$NetBSD: df.c,v 1.80 2008/03/04 17:59:55 christos Exp $");
__RCSID("$NetBSD: df.c,v 1.81 2008/03/04 18:55:57 christos Exp $");
#endif
#endif /* not lint */

Expand Down Expand Up @@ -96,11 +96,11 @@ main(int argc, char *argv[])
case 'a':
aflag = 1;
break;
case 'G':
case 'g':
hflag = 0;
usize = 1024 * 1024 * 1024;
break;
case 'g':
case 'G':
gflag = 1;
break;
case 'h':
Expand Down Expand Up @@ -140,7 +140,7 @@ main(int argc, char *argv[])

if (gflag && (Pflag || iflag))
errx(EXIT_FAILURE,
"only one of -g and -P or -i may be specified");
"only one of -G and -P or -i may be specified");
if (Pflag && iflag)
errx(EXIT_FAILURE,
"only one of -P and -i may be specified");
Expand Down

0 comments on commit 9116675

Please sign in to comment.