From: "Antonino A. Daplas" show_pan will display the value of the xoffset twice, instead of the xoffset and yoffset. Fix. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton --- drivers/video/fbsysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/video/fbsysfs.c~fbdev-fix-obvious-bug-in-show_pan drivers/video/fbsysfs.c --- a/drivers/video/fbsysfs.c~fbdev-fix-obvious-bug-in-show_pan +++ a/drivers/video/fbsysfs.c @@ -376,7 +376,7 @@ static ssize_t show_pan(struct device *d { struct fb_info *fb_info = dev_get_drvdata(device); return snprintf(buf, PAGE_SIZE, "%d,%d\n", fb_info->var.xoffset, - fb_info->var.xoffset); + fb_info->var.yoffset); } static ssize_t show_name(struct device *device, _