# HG changeset patch # User Peter Meerwald # Date 1305407291 -7200 # Node ID c7af696b62216c559d3194e0c9d056fe745ea1e7 # Parent 66c77f9ba9b92cc383cb10536dc86a5906cd9f4d fix diff -r 66c77f9ba9b9 -r c7af696b6221 fbt.c --- 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); }