aports/main/dmraid/lfs64.patch
2023-04-11 21:34:03 +02:00

15 lines
543 B
Diff

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,