From: Apple Date: Tue, 29 Nov 2016 21:42:20 +0000 (+0000) Subject: system_cmds-735.20.1.tar.gz X-Git-Tag: macos-10121^0 X-Git-Url: https://git.saurik.com/apple/system_cmds.git/commitdiff_plain/b58caf92d598c70ddd398b3909b0a2b8b5a110e1 system_cmds-735.20.1.tar.gz --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c0c95fd --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +/system_cmds.xcodeproj/project.xcworkspace +/system_cmds.xcodeproj/xcuserdata +.DS_Store +build/ +*~ +*.swp diff --git a/fs_usage.tproj/fs_usage.c b/fs_usage.tproj/fs_usage.c index d128d2d..2cfb4eb 100644 --- a/fs_usage.tproj/fs_usage.c +++ b/fs_usage.tproj/fs_usage.c @@ -2123,11 +2123,11 @@ format_print(th_info_t ti, char *sc_name, ktrace_event_t event, if (format == FMT_LSEEK) { char *mode; - if (ti->arg4 == SEEK_SET) + if (ti->arg3 == SEEK_SET) mode = "SEEK_SET"; - else if (ti->arg4 == SEEK_CUR) + else if (ti->arg3 == SEEK_CUR) mode = "SEEK_CUR"; - else if (ti->arg4 == SEEK_END) + else if (ti->arg3 == SEEK_END) mode = "SEEK_END"; else mode = "UNKNOWN";