commit a5ad7e0027e456058ac77310e598885dccdf5347
parent 24c5cc098a49a4e88276eab69742b7eafe595963
Author: Naveen Narayanan <zerous@simple-cc.org>
Date: Mon, 15 Jun 2020 14:51:26 +0200
libc: Fix function prototype (arm32) - open, openat
The change was introduced in commit 687ff1f6 but went uncaught since
we didn't build scc for arm until now.
Signed-off-by: Naveen Narayanan <zerous@simple-cc.org>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libc/arch/arm/linux/_open.c b/src/libc/arch/arm/linux/_open.c
@@ -7,7 +7,7 @@
extern int _openat(int fd, const char *fname, int flags, int mode);
int
-_open(const char *fname, int flags)
+_open(const char *fname, int flags, int mode)
{
return _openat(AT_FDCWD, fname, flags, mode);
}