diff options
-rw-r--r-- | libbb/xgetlarg.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libbb/xgetlarg.c b/libbb/xgetlarg.c index 0460aad57..f24492bee 100644 --- a/libbb/xgetlarg.c +++ b/libbb/xgetlarg.c | |||
@@ -21,8 +21,10 @@ extern long bb_xgetlarg(const char *arg, int base, long lower, long upper) | |||
21 | 21 | ||
22 | assert(arg!=NULL); | 22 | assert(arg!=NULL); |
23 | 23 | ||
24 | /* Don't allow leading whitespace. */ | 24 | /* Don't allow leading whitespace. |
25 | if (isspace(*arg)) { /* Use an actual function call for minimal size. */ | 25 | * Wrap isspace in () to make sure we call the |
26 | * function rather than the macro. */ | ||
27 | if ((isspace)(*arg)) { | ||
26 | bb_show_usage(); | 28 | bb_show_usage(); |
27 | } | 29 | } |
28 | 30 | ||