Module Name: src Committed By: macallan Date: Sat Oct 2 23:50:04 UTC 2010
Modified Files: src/sys/dev/pci: machfb.c Log Message: fix a typo To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/dev/pci/machfb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/machfb.c diff -u src/sys/dev/pci/machfb.c:1.59 src/sys/dev/pci/machfb.c:1.60 --- src/sys/dev/pci/machfb.c:1.59 Tue May 4 05:07:14 2010 +++ src/sys/dev/pci/machfb.c Sat Oct 2 23:50:04 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: machfb.c,v 1.59 2010/05/04 05:07:14 macallan Exp $ */ +/* $NetBSD: machfb.c,v 1.60 2010/10/02 23:50:04 macallan Exp $ */ /* * Copyright (c) 2002 Bang Jun-Young @@ -34,7 +34,7 @@ #include <sys/cdefs.h> __KERNEL_RCSID(0, - "$NetBSD: machfb.c,v 1.59 2010/05/04 05:07:14 macallan Exp $"); + "$NetBSD: machfb.c,v 1.60 2010/10/02 23:50:04 macallan Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -584,7 +584,7 @@ prop_dictionary_get_uint32(device_properties(self), "width", &width); prop_dictionary_get_uint32(device_properties(self), "height", &height); - if ((edid_data = prop_dictionary_get(device_properties(self), "EDIDDD")) + if ((edid_data = prop_dictionary_get(device_properties(self), "EDID")) != NULL) { struct edid_info ei;