Skip to content

Commit

Permalink
[PATCH] Typo in fbdev sysfs support, virtual_size
Browse files Browse the repository at this point in the history
It prints out x,x instead of x,y.

Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
Cc: "Antonino A. Daplas" <adaplas@hotpop.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Jon Smirl authored and Linus Torvalds committed Jun 14, 2005
1 parent 6df3cec commit e2c1649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/fbsysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ static ssize_t show_virtual(struct class_device *class_device, char *buf)
struct fb_info *fb_info =
(struct fb_info *)class_get_devdata(class_device);
return snprintf(buf, PAGE_SIZE, "%d,%d\n", fb_info->var.xres_virtual,
fb_info->var.xres_virtual);
fb_info->var.yres_virtual);
}

static ssize_t store_cmap(struct class_device *class_device, const char * buf,
Expand Down

0 comments on commit e2c1649

Please sign in to comment.