summaryrefslogtreecommitdiff
path: root/sysutils/dd_rescue/files/patch-pread64.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/dd_rescue/files/patch-pread64.h')
-rw-r--r--sysutils/dd_rescue/files/patch-pread64.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/dd_rescue/files/patch-pread64.h b/sysutils/dd_rescue/files/patch-pread64.h
new file mode 100644
index 000000000000..ffbd329ed640
--- /dev/null
+++ b/sysutils/dd_rescue/files/patch-pread64.h
@@ -0,0 +1,11 @@
+--- pread64.h.orig 2014-06-29 00:37:49.000000000 +0900
++++ pread64.h 2014-06-29 00:39:50.000000000 +0900
+@@ -94,7 +94,7 @@
+ {
+ return pread(fd, buf, sz, off);
+ }
+-static inline ssize_t pwrite(int fd, const void *buf, size_t sz, loff_t off)
++static inline ssize_t pwrite64(int fd, const void *buf, size_t sz, loff_t off)
+ {
+ return pwrite(fd, buf, sz, off);
+ }