Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 fix width vs height typo
details: https://anonhg.NetBSD.org/src/rev/984089e08d0f
branches: trunk
changeset: 788866:984089e08d0f
user: macallan <macallan%NetBSD.org@localhost>
date: Thu Jul 25 15:09:27 2013 +0000
description:
fix width vs height typo
from imre at vdsz.com
diffstat:
sys/arch/x86/x86/genfb_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2a10fde78818 -r 984089e08d0f sys/arch/x86/x86/genfb_machdep.c
--- a/sys/arch/x86/x86/genfb_machdep.c Thu Jul 25 14:28:29 2013 +0000
+++ b/sys/arch/x86/x86/genfb_machdep.c Thu Jul 25 15:09:27 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfb_machdep.c,v 1.10 2011/07/01 18:21:31 dyoung Exp $ */
+/* $NetBSD: genfb_machdep.c,v 1.11 2013/07/25 15:09:27 macallan Exp $ */
/*-
* Copyright (c) 2009 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfb_machdep.c,v 1.10 2011/07/01 18:21:31 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfb_machdep.c,v 1.11 2013/07/25 15:09:27 macallan Exp $");
#include "opt_mtrr.h"
@@ -159,7 +159,7 @@
return 0;
err = _x86_memio_map(t, (bus_addr_t)fbinfo->physaddr,
- fbinfo->width * fbinfo->stride,
+ fbinfo->height * fbinfo->stride,
BUS_SPACE_MAP_LINEAR | BUS_SPACE_MAP_PREFETCHABLE, &h);
if (err) {
aprint_error("x86_genfb_cnattach: couldn't map framebuffer\n");
Home |
Main Index |
Thread Index |
Old Index