Skip to content

Commit 052eb07

Browse files
committed
whoops, forgot some printf debugs
1 parent bbd4558 commit 052eb07

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

darwin-user/syscall.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10814,7 +10814,6 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
1081410814
// ret == bytes read, or target error code
1081510815

1081610816
dirp = fdopendir(dir_fd);
10817-
gemu_log("\n\tgetdents fdopendir: %p\n", dirp);
1081810817
if (!dirp) {
1081910818
ret = -host_to_target_errno(errno);
1082010819
goto fail;
@@ -10825,17 +10824,13 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
1082510824
ret = -TARGET_ENOMEM;
1082610825
goto fail;
1082710826
}
10828-
gemu_log("\n\tgetdents host_dirp: %p\n", host_dirp);
1082910827

10830-
1083110828
// collect readdir calls into getdents dirp * buffer
1083210829
target_dirp = lock_user(VERIFY_WRITE, arg2, count, 0);
1083310830
if (!target_dirp) {
1083410831
goto efault;
1083510832
}
10836-
gemu_log("\n\tgetdents target_dirp: %p\n", target_dirp);
10837-
10838-
10833+
1083910834
struct dirent *de;
1084010835
struct target_dirent *tde = target_dirp;
1084110836
uint bytes_used = 0;

0 commit comments

Comments
 (0)