aboutsummaryrefslogtreecommitdiff
path: root/procps/smemcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/smemcap.c')
-rw-r--r--procps/smemcap.c2
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)
struct stat s;
/* buffer the file */
- fd = xopen(path, O_RDONLY);
+ fd = open(path, O_RDONLY);
if (fd == -1) {
/* skip vanished processes between dir listing and traversal */
return;