didsomething ? "TRUE" : "FALSE");
if (predictflagged && didsomething != predictfound)
fprintf(stderr, "**** for gid=%d, didsomething=%d predictfound=%d\n",
- didsomething, predictfound);
+ gid, didsomething, predictfound);
#endif
if (didsomething)
sg_found = add_map(sg_found, -gid);
#if defined(AFS_AIX32_ENV)
if (cmd_OptionAsInt(opts, OPT_minspare, &aixlow_water) == 0) {
if ((aixlow_water < 0) || (aixlow_water > 30)) {
- printf("space reserved %d%% invalid; must be between 0-30%\n",
+ printf("space reserved %d%% invalid; must be between 0-30%%\n",
aixlow_water);
return -1;
}
printf
("Inode status: dev=%d, ino=%d, mode=%o, nlink=%d, uid=%d, gid=%d, size=%d, mtime=%d, blocks=%d\n",
status.st_dev, status.st_ino, status.st_mode, status.st_nlink,
- status.st_uid, status.st_gid, status.st_size, status.st_mtime);
+ status.st_uid, status.st_gid, status.st_size, status.st_mtime, status.st_blocks);
} else {
/* Send the inode to standard out */
char buf[4096];
break;
case VERIFY_ERROR:
printf("%s: Can't check XFS inode size: %s\n",
- strerror(errno));
+ prog, strerror(errno));
break;
case VERIFY_FIX:
if (nAvail <= nParts) {
#else /* AFS_SGI_XFS_IOPS_ENV */
main()
{
- printf("%s only runs on XFS platforms.\n, prog");
+ printf("%s only runs on XFS platforms.\n", prog);
exit(1);
}
#endif /* AFS_SGI_XFS_IOPS_ENV */