Display inode number without zero padding.

This commit is contained in:
Benoit Dejean
2015-06-21 15:05:32 +02:00
committed by Robert Roth
parent 50b5dea402
commit 0a94dc7992

View File

@@ -140,10 +140,10 @@ main (int argc, char *argv [])
if (sizeof (void*) == 8) if (sizeof (void*) == 8)
format = "%016lx-%016lx +%016lx (%8lu bytes mapped) - " format = "%016lx-%016lx +%016lx (%8lu bytes mapped) - "
"%02x:%02x %08lu - %.*s"; "%02x:%02x % 8lu - %.*s";
else else
format = "%08lx-%08lx +%08lx (%8lu bytes mapped) - " format = "%08lx-%08lx +%08lx (%8lu bytes mapped) - "
"%02x:%02x %08lu - %.*s"; "%02x:%02x % 8lu - %.*s";
fprintf (stderr, format, fprintf (stderr, format,
(unsigned long) maps [i].start, (unsigned long) maps [i].start,