X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=coreutils%2Fnice.c;h=d24a95b45f85ed3763b370e47b3bba4c1ca662b3;hb=6b1e3d7e734f85a08c2e4414764f03a7f880b3e6;hp=8d77ae472cc1469a1757b894f568cdd3bd390155;hpb=b6adbf1be29841501cc49917249e85f273e1df7c;p=oweals%2Fbusybox.git diff --git a/coreutils/nice.c b/coreutils/nice.c index 8d77ae472..d24a95b45 100644 --- a/coreutils/nice.c +++ b/coreutils/nice.c @@ -10,7 +10,7 @@ #include #include "libbb.h" -int nice_main(int argc, char **argv); +int nice_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int nice_main(int argc, char **argv) { int old_priority, adjustment; @@ -51,5 +51,5 @@ int nice_main(int argc, char **argv) /* The exec failed... */ xfunc_error_retval = (errno == ENOENT) ? 127 : 126; /* SUSv3 */ - bb_perror_msg_and_die("%s", *argv); + bb_simple_perror_msg_and_die(*argv); }