aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-08-30 11:49:51 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-08-30 11:49:51 +0200
commit270becc2409e7b4c4e83b3f3272ff28d30805c55 (patch)
tree4f8dcddf2afd56a4d1e5a221a12870ca7aaef709 /procps
parent9a2621a3b9243919921935f0e3eff6d942379e77 (diff)
downloadbusybox-270becc2409e7b4c4e83b3f3272ff28d30805c55.tar.gz
smemcap: keep outputting by ignoring transient processes, take two
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-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;