diff options
-rw-r--r-- | procps/smemcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/smemcap.c b/procps/smemcap.c index 96b565f59..2f8ab192e 100644 --- a/procps/smemcap.c +++ b/procps/smemcap.c | |||
@@ -65,7 +65,7 @@ static void archivefile(const char *path) | |||
65 | struct stat s; | 65 | struct stat s; |
66 | 66 | ||
67 | /* buffer the file */ | 67 | /* buffer the file */ |
68 | fd = xopen(path, O_RDONLY); | 68 | fd = open(path, O_RDONLY); |
69 | if (fd == -1) { | 69 | if (fd == -1) { |
70 | /* skip vanished processes between dir listing and traversal */ | 70 | /* skip vanished processes between dir listing and traversal */ |
71 | return; | 71 | return; |