Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 908662
Collapse All | Expand All

(-)a/lib/misc/file.c (-1 / +1 lines)
Lines 71-77 rw_file(struct lib_context *lc, const char *who, int flags, Link Here
71
#ifdef __KLIBC__
71
#ifdef __KLIBC__
72
#define	DMRAID_LSEEK	lseek
72
#define	DMRAID_LSEEK	lseek
73
#else
73
#else
74
#define	DMRAID_LSEEK	lseek64
74
#define	DMRAID_LSEEK	lseek
75
#endif
75
#endif
76
	if (offset && (o = DMRAID_LSEEK(fd, offset, SEEK_SET)) == (loff_t) - 1)
76
	if (offset && (o = DMRAID_LSEEK(fd, offset, SEEK_SET)) == (loff_t) - 1)
77
		log_err(lc, "%s: seeking device \"%s\" to %" PRIu64,
77
		log_err(lc, "%s: seeking device \"%s\" to %" PRIu64,

Return to bug 908662