diff options
Diffstat (limited to 'networking/netstat.c')
-rw-r--r-- | networking/netstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/netstat.c b/networking/netstat.c index 24b26545e..46510acc1 100644 --- a/networking/netstat.c +++ b/networking/netstat.c | |||
@@ -466,7 +466,7 @@ static void do_info(const char *file, const char *name, int (*proc)(int, char *) | |||
466 | FILE *procinfo; | 466 | FILE *procinfo; |
467 | char *buffer; | 467 | char *buffer; |
468 | 468 | ||
469 | procinfo = fopen(file, "r"); | 469 | procinfo = fopen_for_read(file); |
470 | if (procinfo == NULL) { | 470 | if (procinfo == NULL) { |
471 | if (errno != ENOENT) { | 471 | if (errno != ENOENT) { |
472 | bb_simple_perror_msg(file); | 472 | bb_simple_perror_msg(file); |