From 1d0a993ae9719c3054bf47b5ff019bf216fe9c98 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Sat, 5 Feb 2011 00:54:58 +0100 Subject: don't use devfs names: /dev/fb/0 -> /dev/fb0 --- lib/gdi/bcm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/gdi/bcm.cpp') diff --git a/lib/gdi/bcm.cpp b/lib/gdi/bcm.cpp index 12b5f22a..ccf16f41 100644 --- a/lib/gdi/bcm.cpp +++ b/lib/gdi/bcm.cpp @@ -23,10 +23,10 @@ static int exec_list(void); int bcm_accel_init(void) { - fb_fd = open("/dev/fb/0", O_RDWR); + fb_fd = open("/dev/fb0", O_RDWR); if (fb_fd < 0) { - perror("/dev/fb/0"); + perror("/dev/fb0"); return 1; } if (exec_list()) -- cgit v1.2.3