Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci make this compile.



details:   https://anonhg.NetBSD.org/src/rev/738321c7c019
branches:  trunk
changeset: 757857:738321c7c019
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Sep 28 20:14:11 2010 +0000

description:
make this compile.

diffstat:

 sys/dev/pci/agp.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 8a9cb8fd5ea8 -r 738321c7c019 sys/dev/pci/agp.c
--- a/sys/dev/pci/agp.c Tue Sep 28 14:02:48 2010 +0000
+++ b/sys/dev/pci/agp.c Tue Sep 28 20:14:11 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: agp.c,v 1.72 2010/09/28 14:02:48 christos Exp $        */
+/*     $NetBSD: agp.c,v 1.73 2010/09/28 20:14:11 christos Exp $        */
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -65,7 +65,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.72 2010/09/28 14:02:48 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.73 2010/09/28 20:14:11 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -971,8 +971,8 @@
                aga.pg_count = oaga->pg_count;
 
                if ((ret = agp_allocate_user(sc, &aga)) == 0) {
-                       oaga->key = aga->key;
-                       oaga->physical = (u_long)aga->physical;
+                       oaga->key = aga.key;
+                       oaga->physical = (u_long)aga.physical;
                }
 
                return ret;



Home | Main Index | Thread Index | Old Index