Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/powerpc Make it compilable



details:   https://anonhg.NetBSD.org/src/rev/fb1de6d54a3b
branches:  trunk
changeset: 328540:fb1de6d54a3b
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Apr 06 14:47:46 2014 +0000

description:
Make it compilable

diffstat:

 sys/arch/powerpc/powerpc/procfs_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 91fd0b751a20 -r fb1de6d54a3b sys/arch/powerpc/powerpc/procfs_machdep.c
--- a/sys/arch/powerpc/powerpc/procfs_machdep.c Sun Apr 06 14:36:35 2014 +0000
+++ b/sys/arch/powerpc/powerpc/procfs_machdep.c Sun Apr 06 14:47:46 2014 +0000
@@ -1,7 +1,7 @@
-/*     $NetBSD: procfs_machdep.c,v 1.8 2014/04/05 18:44:32 christos Exp $      */
+/*     $NetBSD: procfs_machdep.c,v 1.9 2014/04/06 14:47:46 martin Exp $        */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_machdep.c,v 1.8 2014/04/05 18:44:32 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_machdep.c,v 1.9 2014/04/06 14:47:46 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -22,7 +22,7 @@
 int
 procfs_getcpuinfstr(char *buf, size_t *len)
 {
-       *size_t = 0;
+       *len = 0;
 
        return 0;
 }



Home | Main Index | Thread Index | Old Index