From: Julian Seward Date: Mon, 17 Aug 2015 21:19:19 +0000 (+0000) Subject: Fix a format string error observed whilst building on OSX 10.10. X-Git-Tag: svn/VALGRIND_3_11_0~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7540350321281a621dcc75e4fcad92a50f452932;p=thirdparty%2Fvalgrind.git Fix a format string error observed whilst building on OSX 10.10. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15563 --- diff --git a/coregrind/m_debuginfo/debuginfo.c b/coregrind/m_debuginfo/debuginfo.c index 8097f16a4e..8d345e61fc 100644 --- a/coregrind/m_debuginfo/debuginfo.c +++ b/coregrind/m_debuginfo/debuginfo.c @@ -622,8 +622,8 @@ static void show_DebugInfoMappings for (i = 0; i < n; i++) { const DebugInfoMapping* map = VG_(indexXA)(maps, i); TRACE_SYMTAB(" [%ld] avma 0x%-16lx size %-8lu " - "foff %-8ld %s %s %s\n", - i, map->avma, map->size, map->foff, + "foff %-8lld %s %s %s\n", + i, map->avma, map->size, (Long)map->foff, map->rx ? "rx" : "--", map->rw ? "rw" : "--", map->ro ? "ro" : "--");