Module Name: src
Committed By: martin
Date: Sun Apr 6 14:47:46 UTC 2014
Modified Files:
src/sys/arch/powerpc/powerpc: procfs_machdep.c
Log Message:
Make it compilable
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/powerpc/powerpc/procfs_machdep.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/powerpc/powerpc/procfs_machdep.c
diff -u src/sys/arch/powerpc/powerpc/procfs_machdep.c:1.8 src/sys/arch/powerpc/powerpc/procfs_machdep.c:1.9
--- src/sys/arch/powerpc/powerpc/procfs_machdep.c:1.8 Sat Apr 5 18:44:32 2014
+++ src/sys/arch/powerpc/powerpc/procfs_machdep.c Sun Apr 6 14:47:46 2014
@@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: procfs_machd
int
procfs_getcpuinfstr(char *buf, size_t *len)
{
- *size_t = 0;
+ *len = 0;
return 0;
}