From: Helge Deller Date: Sat, 24 Sep 2022 11:44:56 +0000 (+0200) Subject: linux-user: Add proper strace format strings for getdents()/getdents64() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=785783bab1ae879817a26f6757a997ebdc5e89c5;p=qemu.git linux-user: Add proper strace format strings for getdents()/getdents64() Signed-off-by: Helge Deller Message-Id: <20220924114501.21767-3-deller@gmx.de> Signed-off-by: Laurent Vivier --- diff --git a/linux-user/strace.list b/linux-user/strace.list index c6f748505a..f8a771b4f2 100644 --- a/linux-user/strace.list +++ b/linux-user/strace.list @@ -279,10 +279,10 @@ { TARGET_NR_getcwd, "getcwd" , "%s(%p,%d)", NULL, NULL }, #endif #ifdef TARGET_NR_getdents -{ TARGET_NR_getdents, "getdents" , NULL, NULL, NULL }, +{ TARGET_NR_getdents, "getdents" , "%s(%d,%p,%u)", NULL, NULL }, #endif #ifdef TARGET_NR_getdents64 -{ TARGET_NR_getdents64, "getdents64" , NULL, NULL, NULL }, +{ TARGET_NR_getdents64, "getdents64" , "%s(%d,%p,%u)", NULL, NULL }, #endif #ifdef TARGET_NR_getdomainname { TARGET_NR_getdomainname, "getdomainname" , NULL, NULL, NULL },