X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Fsecurity-util.c;fp=common-src%2Fsecurity-util.c;h=7ecb4437759c302a854e421d0f2f5e1dd01b1023;hb=a6127998ee6dcab6bb034f6ca985b07804a86f9a;hp=e326258d6dc208ac9633c0ef791917e9bec1f4c9;hpb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;p=debian%2Famanda diff --git a/common-src/security-util.c b/common-src/security-util.c index e326258..7ecb443 100644 --- a/common-src/security-util.c +++ b/common-src/security-util.c @@ -2538,7 +2538,7 @@ show_stat_info( if (getgrgid_r(sbuf.st_gid, &gr, buf, buflen, &grptr) != 0 || grptr == NULL) { group = alloc(NUM_STR_SIZE + 1); - g_snprintf(owner, NUM_STR_SIZE, "%ld", (long)sbuf.st_gid); + g_snprintf(group, NUM_STR_SIZE, "%ld", (long)sbuf.st_gid); } else { group = stralloc(grptr->gr_name); }