From 2538b5ac0321b351e39e78a309063946b596427c Mon Sep 17 00:00:00 2001 From: Jaromir Capik Date: Tue, 5 Aug 2014 19:15:03 +0200 Subject: [PATCH] library: increasing meminfo()/namebuf size from 16 to 32 --- proc/sysinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc/sysinfo.c b/proc/sysinfo.c index 9b6c2b8b..6b01397e 100644 --- a/proc/sysinfo.c +++ b/proc/sysinfo.c @@ -622,7 +622,7 @@ static unsigned long kb_inactive_file; void meminfo(void){ - char namebuf[16]; /* big enough to hold any row name */ + char namebuf[32]; /* big enough to hold any row name */ mem_table_struct findme = { namebuf, NULL}; mem_table_struct *found; char *head;