changeset 9:c7af696b6221

fix
author Peter Meerwald <pmeerw@pmeerw.net>
date Sat, 14 May 2011 23:08:11 +0200
parents 66c77f9ba9b9
children 078dc69945ad
files fbt.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/fbt.c	Sat May 14 21:05:59 2011 +0200
+++ b/fbt.c	Sat May 14 23:08:11 2011 +0200
@@ -23,7 +23,7 @@
   }
   
   struct fb_fix_screeninfo sif;
-  if (ioctl(fd, FBIOGET_VSCREENINFO, &sif) < 0) {
+  if (ioctl(fd, FBIOGET_FSCREENINFO, &sif) < 0) {
     perror("");
     exit(EXIT_FAILURE);
   }

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.