aboutsummaryrefslogtreecommitdiffstats
path: root/main/dmraid/lfs64.patch
blob: 6caf16c0a85f4b9f0ed46dbc8e2f4d69495caa5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
needed since https://github.com/bminor/musl/commit/25e6fee27f4a293728dd15b659170e7b9c7db9bc
--
diff --git a/lib/misc/file.c b/lib/misc/file.c
index 7c663cb..7da9622 100644
--- a/lib/misc/file.c
+++ b/lib/misc/file.c
@@ -71,7 +71,7 @@ rw_file(struct lib_context *lc, const char *who, int flags,
 #ifdef __KLIBC__
 #define	DMRAID_LSEEK	lseek
 #else
-#define	DMRAID_LSEEK	lseek64
+#define	DMRAID_LSEEK	lseek
 #endif
 	if (offset && (o = DMRAID_LSEEK(fd, offset, SEEK_SET)) == (loff_t) - 1)
 		log_err(lc, "%s: seeking device \"%s\" to %" PRIu64,