goto out;
}
+retry:
rc = read(fd, gid, sz);
if (rc < sz) {
rc = -errno;
goto out;
}
+ /* gids must be non-zero */
+ if (*gid == 0)
+ goto retry;
+
out:
if (fd >= 0)
close(fd);
printf(" s="DFID" sp="DFID" %.*s",
PFID(&rnm->cr_sfid),
PFID(&rnm->cr_spfid),
- changelog_rec_snamelen(rec),
+ (int)changelog_rec_snamelen(rec),
changelog_rec_sname(rec));
}
printf("\n");