mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 17:16:43 +02:00
15 lines
543 B
Diff
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,
|