]> git.saurik.com Git - apple/system_cmds.git/commitdiff
system_cmds-735.20.1.tar.gz macos-10121 v735.20.1
authorApple <opensource@apple.com>
Tue, 29 Nov 2016 21:42:20 +0000 (21:42 +0000)
committerApple <opensource@apple.com>
Tue, 29 Nov 2016 21:42:20 +0000 (21:42 +0000)
.gitignore [new file with mode: 0644]
fs_usage.tproj/fs_usage.c

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..c0c95fd
--- /dev/null
@@ -0,0 +1,6 @@
+/system_cmds.xcodeproj/project.xcworkspace
+/system_cmds.xcodeproj/xcuserdata
+.DS_Store
+build/
+*~
+*.swp
index d128d2d2702086e95ff05c725250d89aeb053dd6..2cfb4eb148711fc2431f7688aaff9273c9705e46 100644 (file)
@@ -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";