From 15360a2bf86c16f8aa8388ada11a3dddb6b76d59 Mon Sep 17 00:00:00 2001 From: Giacomo Tesio Date: Fri, 22 Dec 2017 00:25:37 +0100 Subject: [PATCH] jehanne: fix build (ioctl) --- 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 a1cf3b481..75221c9db 100644 --- a/newlib/libc/sys/jehanne/ioctl.c +++ b/newlib/libc/sys/jehanne/ioctl.c @@ -69,7 +69,7 @@ PixelSized: fd = open("/dev/wctl", OWRITE); if(fd < 0) return 0; - i = snprint(buf, sizeof(buf), "resize -dx %su -dy %su", size->ws_xpixel, size->ws_ypixel); + i = jehanne_snprint(buf, sizeof(buf), "resize -dx %su -dy %su", size->ws_xpixel, size->ws_ypixel); write(fd, buf, i); close(fd); return 1;