]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Solaris: improve syscall trace for sysfs
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 26 Mar 2023 16:21:42 +0000 (18:21 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 26 Mar 2023 16:21:42 +0000 (18:21 +0200)
More than just fix the format warning

coregrind/m_syswrap/syswrap-solaris.c

index 944b5036c94ef93c1dbd5234d39d80b4066e7420..8a2a140f95f69b5c18b0128626279e36ef83ae81 100644 (file)
@@ -4681,7 +4681,7 @@ POST(sys_ucredsys)
 PRE(sys_sysfs)
 {
    /* Kernel: int sysfs(int opcode, long a1, long a2); */
-   PRINT("sys_sysfs ( %ld, %ld, %lu )", SARG1, SARG2, ARG3);
+   PRINT("sys_sysfs ( %ld, %ld, %ld )", SARG1, SARG2, SARG3);
 
    switch (ARG1 /*opcode*/) {
    case VKI_GETFSIND: