projects
/
platform
/
upstream
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.
[platform/upstream/busybox.git]
/
networking
/
netstat.c
diff --git
a/networking/netstat.c
b/networking/netstat.c
index
5bacb47
..
e5ed10e
100644
(file)
--- 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
procinfo = fopen(file, "r");
if (procinfo == NULL) {
if (errno != ENOENT) {
- bb_
perror_msg("%s",
file);
+ bb_
simple_perror_msg(
file);
} else {
bb_error_msg("no support for '%s' on this system", name);
}