summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libgloss/or1k/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/or1k/syscalls.c b/libgloss/or1k/syscalls.c
index 690d21ad1..3e2ad22af 100644
--- a/libgloss/or1k/syscalls.c
+++ b/libgloss/or1k/syscalls.c
@@ -124,7 +124,7 @@ _lseek_r(struct _reent *reent, int file, _off_t ptr, int dir)
}
int
-_open(struct _reent *reent, char *file, int flags, int mode)
+_open_r(struct _reent *reent, const char *file, int flags, int mode)
{
reent->_errno = ENOSYS;
return -1;