From: Paul F. <pa...@so...> - 2024-11-17 18:48:16
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=e1d563f182644e58868b403a9f36ade78ed6e165 commit e1d563f182644e58868b403a9f36ade78ed6e165 Author: Paul Floyd <pj...@wa...> Date: Sun Nov 17 19:47:24 2024 +0100 Solaris - fix a couple of warnings for message formatting Diff: --- coregrind/m_syswrap/syswrap-solaris.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coregrind/m_syswrap/syswrap-solaris.c b/coregrind/m_syswrap/syswrap-solaris.c index 9d869d9b5f..104a809d3d 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; } |