summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/stubs.c
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2012-10-12 11:20:12 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-02-20 13:45:13 +0100
commitaec10d86476d24a68445d2deb61210f572a435e8 (patch)
tree2dd07be9f31fed1d3559b1a25d401dbd3e8bf1a9 /libc/sysdeps/linux/common/stubs.c
parent789e2402f34dcc72a17f58be3227d12e9da12a21 (diff)
ustat: Add ustat stub for arches that don't have the ustat system call
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/stubs.c')
-rw-r--r--libc/sysdeps/linux/common/stubs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/stubs.c b/libc/sysdeps/linux/common/stubs.c
index 43a1b6938..36fcc62ba 100644
--- a/libc/sysdeps/linux/common/stubs.c
+++ b/libc/sysdeps/linux/common/stubs.c
@@ -464,6 +464,10 @@ make_stub(umount2)
make_stub(unshare)
#endif
+#if defined __UCLIBC_SV4_DEPRECATED__ && !defined __NR_ustat
+make_stub(ustat)
+#endif
+
#if !defined __NR_vhangup && defined __UCLIBC_LINUX_SPECIFIC__
make_stub(vhangup)
#endif