@@ -, +, @@ -- --- a/lib/misc/file.c +++ a/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,