From 462eaa9531b9e62916b02ab52759cd070de755d3 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 14 Apr 2021 14:34:38 +0200 Subject: Implemented some I/O interfaces --- apps/wm/wm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/wm/wm.c b/apps/wm/wm.c index 9af1ede..b248bc2 100644 --- a/apps/wm/wm.c +++ b/apps/wm/wm.c @@ -494,7 +494,7 @@ int main(int argc, char **argv) atexit(handle_exit); - assert(ioctl("/dev/fb", 0, &screen) == 0); + assert(io_control(IO_FRAMEBUFFER, 0, &screen) == EOK); log("WM loaded: %dx%d\n", screen.width, screen.height); wm_client = (struct client){ .pid = getpid() }; bypp = (screen.bpp >> 3); -- cgit v1.2.3