Commit c4270637ff379163d22721b897f0dc5592794c68

Authored by Antonino A. Daplas
Committed by Linus Torvalds
1 parent 464bdd33e9

fbdev: fix obvious bug in show_pan()

show_pan will display the value of the xoffset twice, instead of the xoffset
and yoffset.  Fix.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/video/fbsysfs.c
... ... @@ -376,7 +376,7 @@
376 376 {
377 377 struct fb_info *fb_info = dev_get_drvdata(device);
378 378 return snprintf(buf, PAGE_SIZE, "%d,%d\n", fb_info->var.xoffset,
379   - fb_info->var.xoffset);
  379 + fb_info->var.yoffset);
380 380 }
381 381  
382 382 static ssize_t show_name(struct device *device,