summaryrefslogtreecommitdiffstats
path: root/libdwfl/linux-proc-maps.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2019-03-07 12:05:25 +0100
committerMark Wielaard <[email protected]>2019-03-07 12:05:25 +0100
commit14030673602a4f331f348decd51e5f0160719f0e (patch)
treedb1e66a97a8133c34920699ccfeda56e2b01a965 /libdwfl/linux-proc-maps.c
parentb244a241a82c28f7fef33f37d82bc47631ceca4e (diff)
parent1e52d4ce3aa2093d12901d32fe07aae70211fe2a (diff)
Merge tag 'elfutils-0.176' into mjw/RH-DTSdts-0.176
elfutils 0.176 release Conflicts: tests/run-readelf-mixed-corenote.sh: Remove riscv testcase.
Diffstat (limited to 'libdwfl/linux-proc-maps.c')
-rw-r--r--libdwfl/linux-proc-maps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdwfl/linux-proc-maps.c b/libdwfl/linux-proc-maps.c
index c4438c0f..719cba68 100644
--- a/libdwfl/linux-proc-maps.c
+++ b/libdwfl/linux-proc-maps.c
@@ -217,7 +217,7 @@ proc_maps_report (Dwfl *dwfl, FILE *f, GElf_Addr sysinfo_ehdr, pid_t pid)
uint64_t ino;
int nread = -1;
if (sscanf (line, "%" PRIx64 "-%" PRIx64 " %*s %" PRIx64
- " %x:%x %" PRIi64 " %n",
+ " %x:%x %" PRIu64 " %n",
&start, &end, &offset, &dmajor, &dminor, &ino, &nread) < 6
|| nread <= 0)
{