Hi Dave,

there seems to be typo while printing pages_scanned value - signed output for 
unsigned variable.

Patch:
--- crash-7.0.9.orig/memory.c   2014-11-13 15:33:40.000000000 -0500
+++ crash-7.0.9/memory.c        2015-01-20 05:19:07.000000000 -0500
@@ -15776,7 +15776,7 @@ dump_zone_stats(void)
                        if (VALID_MEMBER(zone_pages_scanned)) {
                                value1 = ULONG(zonebuf + 
                                        OFFSET(zone_pages_scanned));
-                               fprintf(fp, "PAGES_SCANNED: %ld  ", value1);
+                               fprintf(fp, "PAGES_SCANNED: %lu  ", value1);
                        } 
                        fprintf(fp, "\n");

regards,
Alexandr

--
Crash-utility mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/crash-utility

Reply via email to