summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authorHelge Deller2022-09-24 13:44:56 +0200
committerLaurent Vivier2022-09-27 09:33:19 +0200
commit785783bab1ae879817a26f6757a997ebdc5e89c5 (patch)
tree6248dda99841da80fb781adc5b5f4bca64b8ebc5 /linux-user
parentlinux-user: Fix TARGET_PROT_SEM for XTENSA (diff)
downloadqemu-785783bab1ae879817a26f6757a997ebdc5e89c5.tar.gz
qemu-785783bab1ae879817a26f6757a997ebdc5e89c5.tar.xz
qemu-785783bab1ae879817a26f6757a997ebdc5e89c5.zip
linux-user: Add proper strace format strings for getdents()/getdents64()
Signed-off-by: Helge Deller <deller@gmx.de> Message-Id: <20220924114501.21767-3-deller@gmx.de> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/strace.list4
1 files changed, 2 insertions, 2 deletions
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 },