diff options
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/mount.c | 2 | ||||
-rw-r--r-- | util-linux/setarch.c | 2 | ||||
-rw-r--r-- | util-linux/swaponoff.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index ea3300176..10ada5426 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -1655,7 +1655,7 @@ int mount_main(int argc, char **argv) && (i & (MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) ) { rc = mount("", argv[0], "", i, ""); - if (rc) bb_perror_msg_and_die("%s", argv[0]); + if (rc) bb_simple_perror_msg_and_die(argv[0]); goto clean_up; } diff --git a/util-linux/setarch.c b/util-linux/setarch.c index 2fb47f9e8..08294e55c 100644 --- a/util-linux/setarch.c +++ b/util-linux/setarch.c @@ -44,5 +44,5 @@ retry: BB_EXECVP(argv[0], argv); } - bb_perror_msg_and_die("%s", argv[0]); + bb_simple_perror_msg_and_die(argv[0]); } diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c index 73fe105a9..db43aa52a 100644 --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c @@ -31,7 +31,7 @@ static int swap_enable_disable(char *device) status = swapoff(device); if (status != 0) { - bb_perror_msg("%s", device); + bb_simple_perror_msg(device); return 1; } |