summaryrefslogtreecommitdiff
path: root/code/fe310/bsp/gloss/sys_chown.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/bsp/gloss/sys_chown.c')
-rw-r--r--code/fe310/bsp/gloss/sys_chown.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/code/fe310/bsp/gloss/sys_chown.c b/code/fe310/bsp/gloss/sys_chown.c
new file mode 100644
index 0000000..302952e
--- /dev/null
+++ b/code/fe310/bsp/gloss/sys_chown.c
@@ -0,0 +1,9 @@
+#include <sys/types.h>
+#include <errno.h>
+
+int
+_chown(const char *path, uid_t owner, gid_t group)
+{
+ errno = ENOSYS;
+ return -1;
+}