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 /networking | |
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 'networking')
-rw-r--r-- | networking/httpd.c | 2 | ||||
-rw-r--r-- | networking/inetd.c | 2 | ||||
-rw-r--r-- | networking/netstat.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index c8fbefd5a..06a5a56bc 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -504,7 +504,7 @@ static void parse_conf(const char *path, int flag) | |||
504 | return; | 504 | return; |
505 | } | 505 | } |
506 | if (configFile && flag == FIRST_PARSE) /* if -c option given */ | 506 | if (configFile && flag == FIRST_PARSE) /* if -c option given */ |
507 | bb_perror_msg_and_die("%s", cf); | 507 | bb_simple_perror_msg_and_die(cf); |
508 | flag = FIND_FROM_HTTPD_ROOT; | 508 | flag = FIND_FROM_HTTPD_ROOT; |
509 | cf = httpd_conf; | 509 | cf = httpd_conf; |
510 | } | 510 | } |
diff --git a/networking/inetd.c b/networking/inetd.c index b16427882..6d72e13e8 100644 --- a/networking/inetd.c +++ b/networking/inetd.c | |||
@@ -983,7 +983,7 @@ static void config(int sig ATTRIBUTE_UNUSED) | |||
983 | char protoname[10]; | 983 | char protoname[10]; |
984 | 984 | ||
985 | if (!setconfig()) { | 985 | if (!setconfig()) { |
986 | bb_perror_msg("%s", config_filename); | 986 | bb_simple_perror_msg(config_filename); |
987 | return; | 987 | return; |
988 | } | 988 | } |
989 | for (sep = servtab; sep; sep = sep->se_next) | 989 | for (sep = servtab; sep; sep = sep->se_next) |
diff --git a/networking/netstat.c b/networking/netstat.c index 5bacb47cc..e5ed10eb4 100644 --- a/networking/netstat.c +++ b/networking/netstat.c | |||
@@ -464,7 +464,7 @@ static void do_info(const char *file, const char *name, void (*proc)(int, const | |||
464 | procinfo = fopen(file, "r"); | 464 | procinfo = fopen(file, "r"); |
465 | if (procinfo == NULL) { | 465 | if (procinfo == NULL) { |
466 | if (errno != ENOENT) { | 466 | if (errno != ENOENT) { |
467 | bb_perror_msg("%s", file); | 467 | bb_simple_perror_msg(file); |
468 | } else { | 468 | } else { |
469 | bb_error_msg("no support for '%s' on this system", name); | 469 | bb_error_msg("no support for '%s' on this system", name); |
470 | } | 470 | } |