[Jlog-devel] [jlog commit] r41 - trunk
svn-commit at lists.omniti.com
svn-commit at lists.omniti.com
Sun Nov 8 14:21:07 EST 2009
Author: jesus
Date: 2009-11-08 14:21:07 -0500 (Sun, 08 Nov 2009)
New Revision: 41
Modified:
trunk/jlogctl.c
Log:
this explicit cast prevents a confused printf
Modified: trunk/jlogctl.c
===================================================================
--- trunk/jlogctl.c 2009-06-12 20:57:12 UTC (rev 40)
+++ trunk/jlogctl.c 2009-11-08 19:21:07 UTC (rev 41)
@@ -191,7 +191,7 @@
} else {
readers = __jlog_pending_readers(log, logid);
if(!quiet) printf("\t%8s [%9llu bytes] %d pending readers\n",
- de->d_name, st.st_size, readers);
+ de->d_name, (unsigned long long)st.st_size, readers);
if(show_index_info && !quiet) {
struct stat sb;
if (stat(fullidx, &sb)) {
More information about the Jlog-devel
mailing list