mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 05:34:13 +08:00
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>
This commit is contained in:
parent
464bdd33e9
commit
c4270637ff
@ -376,7 +376,7 @@ static ssize_t show_pan(struct device *device,
|
||||
{
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user