aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox/fix-top.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/busybox/fix-top.patch')
-rw-r--r--main/busybox/fix-top.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/main/busybox/fix-top.patch b/main/busybox/fix-top.patch
deleted file mode 100644
index 7d1cd4a364..0000000000
--- a/main/busybox/fix-top.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/procps/top.c b/procps/top.c
-index 62f9421..119c32b 100644
---- a/procps/top.c
-+++ b/procps/top.c
-@@ -536,7 +536,7 @@ static void parse_meminfo(unsigned long meminfo[MI_MAX])
- FILE *f;
- int i;
-
-- memset(meminfo, 0, sizeof(meminfo));
-+ memset(meminfo, 0, MI_MAX*sizeof(unsigned long));
- f = xfopen_for_read("meminfo");
- while (fgets(buf, sizeof(buf), f) != NULL) {
- char *c = strchr(buf, ':');
-