diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c index fe49efbb4a29..b8a81c25b7df 100644 --- a/sbin/growfs/growfs.c +++ b/sbin/growfs/growfs.c @@ -1544,7 +1544,7 @@ main(int argc, char **argv) printf(" from %s to %s? [Yes/No] ", oldsizebuf, newsizebuf); fflush(stdout); fgets(reply, (int)sizeof(reply), stdin); - if (strcmp(reply, "Yes\n")){ + if (strcasecmp(reply, "Yes\n")){ printf("\nNothing done\n"); exit (0); }