X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libbb%2Fxgetlarg.c;h=f332bb37e7664a79f36cc4abaac3a40ee96fa504;hb=7600eec7325f0bbce1dcbf08e76c1653bf35b397;hp=56fb60e823313d9cfcdd32dd916e519ba94b58ee;hpb=c7bda1ce659294d6e22c06e087f6f265983c7578;p=oweals%2Fbusybox.git diff --git a/libbb/xgetlarg.c b/libbb/xgetlarg.c index 56fb60e82..f332bb37e 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) assert(arg!=NULL); - /* Don't allow leading whitespace. */ - if ((isspace)(*arg)) { /* Use an actual funciton call for minimal size. */ + /* Don't allow leading whitespace. + * Wrap isspace in () to make sure we call the + * function rather than the macro. */ + if ((isspace)(*arg)) { bb_show_usage(); }