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;