Module Name: src Committed By: chs Date: Sat Oct 1 15:51:17 UTC 2011
Modified Files: src/sys/arch/hp700/dev: pdc.c Log Message: PDC_CHASSIS_INFO needs a third parameter, the size of the LCD structure. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/arch/hp700/dev/pdc.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/arch/hp700/dev/pdc.c diff -u src/sys/arch/hp700/dev/pdc.c:1.39 src/sys/arch/hp700/dev/pdc.c:1.40 --- src/sys/arch/hp700/dev/pdc.c:1.39 Sun Apr 24 16:26:55 2011 +++ src/sys/arch/hp700/dev/pdc.c Sat Oct 1 15:51:17 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: pdc.c,v 1.39 2011/04/24 16:26:55 rmind Exp $ */ +/* $NetBSD: pdc.c,v 1.40 2011/10/01 15:51:17 chs Exp $ */ /* $OpenBSD: pdc.c,v 1.14 2001/04/29 21:05:43 mickey Exp $ */ @@ -29,7 +29,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pdc.c,v 1.39 2011/04/24 16:26:55 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pdc.c,v 1.40 2011/10/01 15:51:17 chs Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -569,7 +569,7 @@ pdcproc_chassis_info(struct pdc_chassis_ int err; err = pdc_call((iodcio_t)pdc, 0, PDC_CHASSIS, PDC_CHASSIS_INFO, - &pdcret1, &pdcret2); + &pdcret1, &pdcret2 , sizeof(*pcl)); if (err < 0) return err;