aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mount.c2
-rw-r--r--util-linux/setarch.c2
-rw-r--r--util-linux/swaponoff.c2
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)
1655 && (i & (MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) 1655 && (i & (MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE))
1656 ) { 1656 ) {
1657 rc = mount("", argv[0], "", i, ""); 1657 rc = mount("", argv[0], "", i, "");
1658 if (rc) bb_perror_msg_and_die("%s", argv[0]); 1658 if (rc) bb_simple_perror_msg_and_die(argv[0]);
1659 goto clean_up; 1659 goto clean_up;
1660 } 1660 }
1661 1661
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:
44 BB_EXECVP(argv[0], argv); 44 BB_EXECVP(argv[0], argv);
45 } 45 }
46 46
47 bb_perror_msg_and_die("%s", argv[0]); 47 bb_simple_perror_msg_and_die(argv[0]);
48} 48}
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)
31 status = swapoff(device); 31 status = swapoff(device);
32 32
33 if (status != 0) { 33 if (status != 0) {
34 bb_perror_msg("%s", device); 34 bb_simple_perror_msg(device);
35 return 1; 35 return 1;
36 } 36 }
37 37