diff --git a/usr.sbin/gstat/gstat.c b/usr.sbin/gstat/gstat.c index dea545397c8c..885b9c4502f0 100644 --- a/usr.sbin/gstat/gstat.c +++ b/usr.sbin/gstat/gstat.c @@ -72,7 +72,7 @@ main(int argc, char **argv) while ((i = getopt(argc, argv, "cI:")) != -1) { switch (i) { case 'c': - flag_c = !flag_c; + flag_c = 1; break; case 'I': p = NULL;