diff options
author | Laurent Vivier <laurent@vivier.eu> | 2011-02-15 21:10:43 +0100 |
---|---|---|
committer | Riku Voipio <riku.voipio@nokia.com> | 2011-02-17 11:46:34 +0200 |
commit | 4de596cb5092fbe125beb5e0b684cf0da7359624 (patch) | |
tree | f9af2cb3d4ad11ae0b74ad1bfc8dc307eddea410 /linux-user/strace.c | |
parent | 79f2b6fcdb7c06cdce6eccc796f5651f3efb843e (diff) |
linux-user: add rmdir() strace
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
Diffstat (limited to 'linux-user/strace.c')
-rw-r--r-- | linux-user/strace.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/linux-user/strace.c b/linux-user/strace.c index 18366661cd..05277c0183 100644 --- a/linux-user/strace.c +++ b/linux-user/strace.c @@ -876,6 +876,18 @@ print_mkdirat(const struct syscallname *name, } #endif +#ifdef TARGET_NR_rmdir +static void +print_rmdir(const struct syscallname *name, + abi_long arg0, abi_long arg1, abi_long arg2, + abi_long arg3, abi_long arg4, abi_long arg5) +{ + print_syscall_prologue(name); + print_string(arg0, 0); + print_syscall_epilogue(name); +} +#endif + #ifdef TARGET_NR_mknod static void print_mknod(const struct syscallname *name, |