From e38c6696cddae354c709d1bb9011b27365aa108c Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Fri, 26 Oct 2012 14:44:46 +0200 Subject: Fix buffer size --- plugins/sysinfo/xsys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/sysinfo') diff --git a/plugins/sysinfo/xsys.c b/plugins/sysinfo/xsys.c index 1d867dd1..e98ffd71 100644 --- a/plugins/sysinfo/xsys.c +++ b/plugins/sysinfo/xsys.c @@ -611,7 +611,7 @@ static int netstream_cb (char *word[], char *word_eol[], void *userdata) { char netstream[bsize]; - char mag_r[3]; + char mag_r[5]; char mag_s[5]; char format[bsize]; unsigned long long bytes_recv; -- cgit 1.4.1