jehanne: fix ioctl call to sys_create

This commit is contained in:
Giacomo Tesio 2020-01-07 22:23:55 +01:00
parent 99170a5919
commit 7e31b66efa
1 changed files with 1 additions and 1 deletions

View File

@ -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);