diff options
author | Marvin Borner | 2021-04-14 14:34:38 +0200 |
---|---|---|
committer | Marvin Borner | 2021-04-14 14:34:38 +0200 |
commit | 462eaa9531b9e62916b02ab52759cd070de755d3 (patch) | |
tree | 71bb32daa5f8b4389c9d4ce1e42d66600090485f /apps/wm | |
parent | 212582f69dea4c99c292081b15ea526014b9ad44 (diff) |
Implemented some I/O interfaces
Diffstat (limited to 'apps/wm')
-rw-r--r-- | apps/wm/wm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |