From: Paul Floyd Date: Sun, 17 Nov 2024 18:47:24 +0000 (+0100) Subject: Solaris - fix a couple of warnings for message formatting X-Git-Tag: VALGRIND_3_25_0~235 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1d563f182644e58868b403a9f36ade78ed6e165;p=thirdparty%2Fvalgrind.git Solaris - fix a couple of warnings for message formatting --- diff --git a/coregrind/m_syswrap/syswrap-solaris.c b/coregrind/m_syswrap/syswrap-solaris.c index 9d869d9b5..104a809d3 100644 --- a/coregrind/m_syswrap/syswrap-solaris.c +++ b/coregrind/m_syswrap/syswrap-solaris.c @@ -2739,7 +2739,7 @@ PRE(sys_shmsys) #if defined(SOLARIS_SHM_NEW) case VKI_SHMADV: /* Libc: int shmadv(int shmid, uint_t cmd, uint_t *advice); */ - PRINT("sys_shmsys ( %ld, %ld, %lu, %ld )", + PRINT("sys_shmsys ( %ld, %ld, %lu, %lu )", SARG1, SARG2, ARG3, ARG4); PRE_REG_READ4(long, SC2("shmsys", "shmadv"), int, opcode, int, shmid, vki_uint_t, cmd, vki_uint_t *, advice); @@ -6895,7 +6895,7 @@ PRE(sys_modctl) default: VG_(unimplemented)("Syswrap of the modctl call with command " - "MODNVL_DEVLINKSYNC and op %ld.", ARG2); + "MODNVL_DEVLINKSYNC and op %lu.", ARG2); /*NOTREACHED*/ break; }