Display inode number without zero padding.
This commit is contained in:
committed by
Robert Roth
parent
50b5dea402
commit
0a94dc7992
@@ -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,
|
||||||
|
Reference in New Issue
Block a user