From f21897f93b2da0e64f6a89a974d89ae98eb61881 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 18 Jul 2011 10:12:42 -0700 Subject: [PATCH] [SIGAR-231] increase getpwuid_r buffer size --- src/sigar_format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sigar_format.c b/src/sigar_format.c index 4bbf58db..e3adbb54 100644 --- a/src/sigar_format.c +++ b/src/sigar_format.c @@ -37,7 +37,7 @@ #include /* sysconf(_SC_GET{PW,GR}_R_SIZE_MAX) */ -#define R_SIZE_MAX 1024 +#define R_SIZE_MAX 2048 int sigar_user_name_get(sigar_t *sigar, int uid, char *buf, int buflen) {