diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-01 11:58:38 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-01 11:58:38 +0000 |
| commit | 0c97c9d43707da745fe2bc62ab2a69497ceaf666 (patch) | |
| tree | 267d0feb99f457b68c09315b3f3aebe8dfd6d411 /miscutils | |
| parent | d65ea39ffc7503807fa95e8840c012a80c83e4f3 (diff) | |
| download | busybox-w32-0c97c9d43707da745fe2bc62ab2a69497ceaf666.tar.gz busybox-w32-0c97c9d43707da745fe2bc62ab2a69497ceaf666.tar.bz2 busybox-w32-0c97c9d43707da745fe2bc62ab2a69497ceaf666.zip | |
'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.
263 bytes saved.
Diffstat (limited to 'miscutils')
| -rw-r--r-- | miscutils/chrt.c | 2 | ||||
| -rw-r--r-- | miscutils/mountpoint.c | 2 | ||||
| -rw-r--r-- | miscutils/setsid.c | 2 | ||||
| -rw-r--r-- | miscutils/taskset.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/miscutils/chrt.c b/miscutils/chrt.c index 98399cedb..1f5465c40 100644 --- a/miscutils/chrt.c +++ b/miscutils/chrt.c | |||
| @@ -115,7 +115,7 @@ print_rt_info: | |||
| 115 | } | 115 | } |
| 116 | ++argv; | 116 | ++argv; |
| 117 | BB_EXECVP(*argv, argv); | 117 | BB_EXECVP(*argv, argv); |
| 118 | bb_perror_msg_and_die("%s", *argv); | 118 | bb_simple_perror_msg_and_die(*argv); |
| 119 | } | 119 | } |
| 120 | #undef OPT_p | 120 | #undef OPT_p |
| 121 | #undef OPT_r | 121 | #undef OPT_r |
diff --git a/miscutils/mountpoint.c b/miscutils/mountpoint.c index 0f1e155ae..376bd9531 100644 --- a/miscutils/mountpoint.c +++ b/miscutils/mountpoint.c | |||
| @@ -61,6 +61,6 @@ int mountpoint_main(int argc, char **argv) | |||
| 61 | } | 61 | } |
| 62 | } | 62 | } |
| 63 | if (!(opt & OPT_q)) | 63 | if (!(opt & OPT_q)) |
| 64 | bb_perror_msg("%s", arg); | 64 | bb_simple_perror_msg(arg); |
| 65 | return EXIT_FAILURE; | 65 | return EXIT_FAILURE; |
| 66 | } | 66 | } |
diff --git a/miscutils/setsid.c b/miscutils/setsid.c index a976fe93b..8d738edfb 100644 --- a/miscutils/setsid.c +++ b/miscutils/setsid.c | |||
| @@ -29,5 +29,5 @@ int setsid_main(int argc, char **argv) | |||
| 29 | setsid(); /* no error possible */ | 29 | setsid(); /* no error possible */ |
| 30 | 30 | ||
| 31 | BB_EXECVP(argv[1], argv + 1); | 31 | BB_EXECVP(argv[1], argv + 1); |
| 32 | bb_perror_msg_and_die("%s", argv[1]); | 32 | bb_simple_perror_msg_and_die(argv[1]); |
| 33 | } | 33 | } |
diff --git a/miscutils/taskset.c b/miscutils/taskset.c index 0c4bad7ed..3c117da92 100644 --- a/miscutils/taskset.c +++ b/miscutils/taskset.c | |||
| @@ -92,7 +92,7 @@ int taskset_main(int argc, char** argv) | |||
| 92 | } | 92 | } |
| 93 | ++argv; | 93 | ++argv; |
| 94 | BB_EXECVP(*argv, argv); | 94 | BB_EXECVP(*argv, argv); |
| 95 | bb_perror_msg_and_die("%s", *argv); | 95 | bb_simple_perror_msg_and_die(*argv); |
| 96 | } | 96 | } |
| 97 | #undef OPT_p | 97 | #undef OPT_p |
| 98 | #undef TASKSET_PRINTF_MASK | 98 | #undef TASKSET_PRINTF_MASK |
