diff options
Diffstat (limited to 'libbb/ask_confirmation.c')
-rw-r--r-- | libbb/ask_confirmation.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libbb/ask_confirmation.c b/libbb/ask_confirmation.c index d08bc51..9dfbd15 100644 --- a/libbb/ask_confirmation.c +++ b/libbb/ask_confirmation.c @@ -20,9 +20,7 @@ int FAST_FUNC bb_ask_confirmation(void) int c; while (((c = getchar()) != EOF) && (c != '\n')) { - /* Make sure we get the actual function call for isspace, - * as speed is not critical here. */ - if (first && !(isspace)(c)) { + if (first && !isspace(c)) { --first; if ((c == 'y') || (c == 'Y')) { ++retval; |