summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_fstatfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_fstatfs.c')
-rw-r--r--lib/libc_r/uthread/uthread_fstatfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_fstatfs.c b/lib/libc_r/uthread/uthread_fstatfs.c
index d7a8a21..84ef0bd 100644
--- a/lib/libc_r/uthread/uthread_fstatfs.c
+++ b/lib/libc_r/uthread/uthread_fstatfs.c
@@ -42,7 +42,7 @@
#include "pthread_private.h"
int
-fstatfs(int fd, struct statfs * buf)
+_libc_fstatfs(int fd, struct statfs * buf)
{
int ret;
@@ -55,4 +55,6 @@ fstatfs(int fd, struct statfs * buf)
}
return (ret);
}
+
+__weak_reference(_libc_fstatfs, fstatfs);
#endif
OpenPOWER on IntegriCloud