]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] Typo in fbdev sysfs support, virtual_size
authorJon Smirl <jonsmirl@gmail.com>
Mon, 13 Jun 2005 22:52:36 +0000 (15:52 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 14 Jun 2005 03:58:58 +0000 (20:58 -0700)
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>
drivers/video/fbsysfs.c

index c78a2c5961d3bada42cd7362085fe414f9fcd40e..277d733c6d00a4150436c42b234aec4edc572b15 100644 (file)
@@ -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,