From 7e31b66efa85e41606c9339cb6b3b1bd77350778 Mon Sep 17 00:00:00 2001 From: Giacomo Tesio Date: Tue, 7 Jan 2020 22:23:55 +0100 Subject: [PATCH] jehanne: fix ioctl call to sys_create --- newlib/libc/sys/jehanne/ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newlib/libc/sys/jehanne/ioctl.c b/newlib/libc/sys/jehanne/ioctl.c index 75221c9db..32d2d0bef 100644 --- a/newlib/libc/sys/jehanne/ioctl.c +++ b/newlib/libc/sys/jehanne/ioctl.c @@ -66,7 +66,7 @@ tty_setsize(struct winsize *size) if(size->ws_xpixel && size->ws_ypixel){ PixelSized: - fd = open("/dev/wctl", OWRITE); + fd = sys_open("/dev/wctl", OWRITE); if(fd < 0) return 0; i = jehanne_snprint(buf, sizeof(buf), "resize -dx %su -dy %su", size->ws_xpixel, size->ws_ypixel);