summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/x11/io.c')
-rw-r--r--uisimulator/x11/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/x11/io.c b/uisimulator/x11/io.c
index 6fc82cc6f7..14d2bfa2c0 100644
--- a/uisimulator/x11/io.c
+++ b/uisimulator/x11/io.c
@@ -120,7 +120,7 @@ int x11_close(int fd)
return (close)(fd);
}
-int x11_creat(char *name, int mode)
+int x11_creat(const char *name, mode_t mode)
{
char buffer[256]; /* sufficiently big */
(void)mode;