Revision: 14476
Author: adrian.chadd
Date: Mon Mar 22 23:17:51 2010
Log: Fix the rebuild-from-log debuggin to make sense.
http://code.google.com/p/lusca-cache/source/detail?r=14476
Modified:
/branches/LUSCA_HEAD/app/ufs_rebuild/ufs_build_log.c
=======================================
--- /branches/LUSCA_HEAD/app/ufs_rebuild/ufs_build_log.c Wed Mar 17
20:55:24 2010
+++ /branches/LUSCA_HEAD/app/ufs_rebuild/ufs_build_log.c Mon Mar 22
23:17:51 2010
@@ -52,7 +52,7 @@
if (0 == fstat(fileno(fp), &sb)) {
if (! storeSwapLogPrintProgress(stdout, num_objects, (int) sb.st_size /
s))
return 0;
- debug(47, 1) ("ufs_rebuild: %s: %d of %d bytes read\n", ufs->path, (int)
s, (int) sb.st_size);
+ debug(47, 1) ("ufs_rebuild: %s: %d of %d objects read\n", ufs->path,
(int) num_objects, (int) sb.st_size / (int) s);
}
return 1;
}
--
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en.