diff options
Diffstat (limited to 'miscutils/devfsd.c')
-rw-r--r-- | miscutils/devfsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index c85ff08f3..61b97dce4 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c | |||
@@ -459,7 +459,7 @@ static void read_config_file(char *path, int optional, unsigned long *event_mask | |||
459 | free(p); | 459 | free(p); |
460 | return; | 460 | return; |
461 | } | 461 | } |
462 | fp = fopen(path, "r"); | 462 | fp = fopen_for_read(path); |
463 | if (fp != NULL) { | 463 | if (fp != NULL) { |
464 | while (fgets(buf, STRING_LENGTH, fp) != NULL) { | 464 | while (fgets(buf, STRING_LENGTH, fp) != NULL) { |
465 | /* Skip whitespace */ | 465 | /* Skip whitespace */ |