Mercurial > hg > minimon
comparison fbt.c @ 9:c7af696b6221
fix
| author | Peter Meerwald <pmeerw@pmeerw.net> |
|---|---|
| date | Sat, 14 May 2011 23:08:11 +0200 |
| parents | 66c77f9ba9b9 |
| children |
comparison
equal
deleted
inserted
replaced
| 8:66c77f9ba9b9 | 9:c7af696b6221 |
|---|---|
| 21 perror(""); | 21 perror(""); |
| 22 exit(EXIT_FAILURE); | 22 exit(EXIT_FAILURE); |
| 23 } | 23 } |
| 24 | 24 |
| 25 struct fb_fix_screeninfo sif; | 25 struct fb_fix_screeninfo sif; |
| 26 if (ioctl(fd, FBIOGET_VSCREENINFO, &sif) < 0) { | 26 if (ioctl(fd, FBIOGET_FSCREENINFO, &sif) < 0) { |
| 27 perror(""); | 27 perror(""); |
| 28 exit(EXIT_FAILURE); | 28 exit(EXIT_FAILURE); |
| 29 } | 29 } |
| 30 | 30 |
| 31 printf("id %s\n", sif.id); | 31 printf("id %s\n", sif.id); |
