Skip to content

Commit

Permalink
[SIGAR-231] increase getpwuid_r buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
dougm committed Jul 18, 2011
1 parent 710a3f7 commit f21897f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sigar_format.c
Expand Up @@ -37,7 +37,7 @@
#include <grp.h>

/* 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)
{
Expand Down

0 comments on commit f21897f

Please sign in to comment.