summaryrefslogtreecommitdiff
path: root/libc/stdio/_cs_funcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/_cs_funcs.c')
-rw-r--r--libc/stdio/_cs_funcs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/stdio/_cs_funcs.c b/libc/stdio/_cs_funcs.c
index 3bec64c19..ef92048c0 100644
--- a/libc/stdio/_cs_funcs.c
+++ b/libc/stdio/_cs_funcs.c
@@ -30,9 +30,9 @@ int attribute_hidden _cs_seek(void *cookie, register __offmax_t *pos, int whence
__offmax_t res;
#ifdef __UCLIBC_HAS_LFS__
- res = lseek64(*((int *) cookie), *pos, whence);
+ res = __lseek64(*((int *) cookie), *pos, whence);
#else
- res = lseek(*((int *) cookie), *pos, whence);
+ res = __lseek(*((int *) cookie), *pos, whence);
#endif
return (res >= 0) ? ((*pos = res), 0) : ((int) res);
@@ -54,9 +54,9 @@ int attribute_hidden __stdio_seek(FILE *stream, register __offmax_t *pos, int wh
__offmax_t res;
#ifdef __UCLIBC_HAS_LFS__
- res = lseek64(stream->__filedes, *pos, whence);
+ res = __lseek64(stream->__filedes, *pos, whence);
#else
- res = lseek(stream->__filedes, *pos, whence);
+ res = __lseek(stream->__filedes, *pos, whence);
#endif
return (res >= 0) ? ((*pos = res), 0) : ((int) res);