Author: eadler Date: Tue Jun 25 20:02:57 2013 New Revision: 252210 URL: http://svnweb.freebsd.org/changeset/base/252210
Log: MFC r250377: Allow the use of lowercase 'yes' PR: bin/178422 Modified: stable/9/sbin/growfs/growfs.c Directory Properties: stable/9/sbin/growfs/ (props changed) Modified: stable/9/sbin/growfs/growfs.c ============================================================================== --- stable/9/sbin/growfs/growfs.c Tue Jun 25 18:44:15 2013 (r252209) +++ stable/9/sbin/growfs/growfs.c Tue Jun 25 20:02:57 2013 (r252210) @@ -1548,7 +1548,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); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"