Imported Upstream version 2.6.0p1
[debian/amanda] / common-src / security-util.c
index e326258d6dc208ac9633c0ef791917e9bec1f4c9..7ecb4437759c302a854e421d0f2f5e1dd01b1023 100644 (file)
@@ -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);
     }