projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add help text
[oweals/busybox.git]
/
procps
/
smemcap.c
diff --git
a/procps/smemcap.c
b/procps/smemcap.c
index f951a5fb6a1be594689982c8aca48cd807163a80..e108d88ad02c54b7e4a62e01c89179528c439b48 100644
(file)
--- a/
procps/smemcap.c
+++ b/
procps/smemcap.c
@@
-8,7
+8,7
@@
herein by reference.
*/
herein by reference.
*/
-//applet:IF_SMEMCAP(APPLET(smemcap,
_BB_DIR_USR_BIN, _
BB_SUID_DROP))
+//applet:IF_SMEMCAP(APPLET(smemcap,
BB_DIR_USR_BIN,
BB_SUID_DROP))
//kbuild:lib-$(CONFIG_SMEMCAP) += smemcap.o
//kbuild:lib-$(CONFIG_SMEMCAP) += smemcap.o
@@
-20,7
+20,7
@@
//config: a memory usage statistic tool.
#include "libbb.h"
//config: a memory usage statistic tool.
#include "libbb.h"
-#include "
un
archive.h"
+#include "archive.h"
struct fileblock {
struct fileblock *next;
struct fileblock {
struct fileblock *next;
@@
-125,5
+125,8
@@
int smemcap_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
}
}
}
}
+ if (ENABLE_FEATURE_CLEAN_UP)
+ closedir(d);
+
return EXIT_SUCCESS;
}
return EXIT_SUCCESS;
}