aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/mountpoint.c2
-rw-r--r--miscutils/setsid.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/mountpoint.c b/miscutils/mountpoint.c
index 38c654c6d..1248dc011 100644
--- a/miscutils/mountpoint.c
+++ b/miscutils/mountpoint.c
@@ -64,7 +64,7 @@ int mountpoint_main(int argc, char **argv)
}
}
if (!(opt & OPT_q))
- bb_perror_msg(arg);
+ bb_perror_msg("%s", arg);
return EXIT_FAILURE;
}
}
diff --git a/miscutils/setsid.c b/miscutils/setsid.c
index 8061896f5..39be54621 100644
--- a/miscutils/setsid.c
+++ b/miscutils/setsid.c
@@ -41,6 +41,6 @@ setsid_main(int argc, char *argv[]) {
execvp(argv[1], argv + 1);
- bb_perror_msg_and_die(argv[1]);
+ bb_perror_msg_and_die("%s", argv[1]);
}