aboutsummaryrefslogtreecommitdiff
path: root/miscutils/setsid.c
diff options
context:
space:
mode:
authorGravatar Mike Frysinger <vapier@gentoo.org>2006-03-23 02:07:20 +0000
committerGravatar Mike Frysinger <vapier@gentoo.org>2006-03-23 02:07:20 +0000
commit948a09d6f288144744ebe281bc18c4bf1a9fac58 (patch)
tree4a748b7660c089bc78da852352e90ac10a3cf15c /miscutils/setsid.c
parent64bef2ab9ca5c9a19abfef76370b5f0f60e06baf (diff)
downloadbusybox-948a09d6f288144744ebe281bc18c4bf1a9fac58.tar.gz
busybox-948a09d6f288144744ebe281bc18c4bf1a9fac58.tar.bz2
dont printf arguments given by user for security sanity
Diffstat (limited to 'miscutils/setsid.c')
-rw-r--r--miscutils/setsid.c2
1 files changed, 1 insertions, 1 deletions
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]);
}