opnsense-ports/sysutils/dd_rescue/files/patch-pread64.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
362 B
C

--- 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);
}