linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Typo in fbdev sysfs support, virtual_size
@ 2005-06-10 23:21 Jon Smirl
  0 siblings, 0 replies; only message in thread
From: Jon Smirl @ 2005-06-10 23:21 UTC (permalink / raw)
  To: fbdev, Antonino A. Daplas, lkml

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

Signed-off-by: jonsmirl@gmail.com <Jon Smirl>
diff --git a/drivers/video/fbsysfs.c b/drivers/video/fbsysfs.c
--- a/drivers/video/fbsysfs.c
+++ b/drivers/video/fbsysfs.c
@@ -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,

-- 
Jon Smirl
jonsmirl@gmail.com


-------------------------------------------------------
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 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-10 23:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-10 23:21 Typo in fbdev sysfs support, virtual_size Jon Smirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).