summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--procps/smemcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/smemcap.c b/procps/smemcap.c
index 96b565f..2f8ab19 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;