Skip to contentSkip to conversation

Typo in fbdev sysfs support, virtual_size

PATCH Jon Smirl 1 participant 1 message Jun 10, 2005 Framebuffer layer

lore
Share & tools
lore

Jon Smirl

author
#0 lore raw

It prints out x,x instead of x,y.

drivers/video/fbsysfs.c +1 -1
@@ -241,7 +241,7 @@ static ssize_t show_virtual(struct class
 	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,
Signature · 9 lines
Jon Smirl
[email protected]


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r