]> granicus.if.org Git - strace/blobdiff - io.c
Remove code which supports systems with long long off_t.
[strace] / io.c
diff --git a/io.c b/io.c
index 6b3f4b70d9f8c665198dd33a8690f5b1235c78d0..f0f07560d0b806257a4026c3c95666d65515eacc 100644 (file)
--- a/io.c
+++ b/io.c
@@ -262,6 +262,10 @@ sys_sendfile(struct tcb *tcp)
                tprints(", ");
                if (!tcp->u_arg[2])
                        tprints("NULL");
+//FIXME: obviously bogus.
+//Probably should use explicit long.
+//Arches with long long offset param should use
+//sys_sendfile64, not this fn.
                else if (umove(tcp, tcp->u_arg[2], &offset) < 0)
                        tprintf("%#lx", tcp->u_arg[2]);
                else