[SIGAR-231] increase getpwuid_r buffer size

This commit is contained in:
Doug MacEachern 2011-07-18 10:12:42 -07:00
parent 710a3f791b
commit f21897f93b
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
#include <grp.h> #include <grp.h>
/* sysconf(_SC_GET{PW,GR}_R_SIZE_MAX) */ /* 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) int sigar_user_name_get(sigar_t *sigar, int uid, char *buf, int buflen)
{ {