X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fwhatnowsbr.c;fp=uip%2Fwhatnowsbr.c;h=032566e2291f28d857b44db1024355129467e988;hp=86878154f392d2c25321d7da005b6a1a3a62ba1f;hb=246ca516a0f7b870316116bc184347b0fb2bc00b;hpb=552fd7253e5ee9e554c5c7a8248a6322aa4363bb diff --git a/uip/whatnowsbr.c b/uip/whatnowsbr.c index 8687815..032566e 100644 --- a/uip/whatnowsbr.c +++ b/uip/whatnowsbr.c @@ -301,7 +301,7 @@ WhatNow(int argc, char **argv) */ if (*(argp+1) == (char *)0) { - (void)sprintf(buf, "$SHELL -c \"cd;pwd\""); + sprintf(buf, "$SHELL -c \"cd;pwd\""); } else { writesomecmd(buf, BUFSIZ, "cd", "pwd", argp); } @@ -333,7 +333,7 @@ WhatNow(int argc, char **argv) ** accustomed to. */ writelscmd(buf, sizeof(buf), argp); - (void)system_in_dir(cwd, buf); + system_in_dir(cwd, buf); break; case ALISTCMDSW: @@ -483,7 +483,7 @@ WhatNow(int argc, char **argv) if (atoi(*argp) == 1) *argp = ""; else - (void)sprintf(*argp, "%d", atoi(*argp) - 1); + sprintf(*argp, "%d", atoi(*argp) - 1); } } }