Module Name: src
Committed By: dsl
Date: Sun Jun 3 10:45:11 UTC 2012
Modified Files:
src/sys/rump/librump/rumpkern: rump.c
Log Message:
Fix build now that sysctl_createv() checks its arg type.
To generate a diff of this commit:
cvs rdiff -u -r1.240 -r1.241 src/sys/rump/librump/rumpkern/rump.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/rump/librump/rumpkern/rump.c
diff -u src/sys/rump/librump/rumpkern/rump.c:1.240 src/sys/rump/librump/rumpkern/rump.c:1.241
--- src/sys/rump/librump/rumpkern/rump.c:1.240 Sat Feb 4 10:02:25 2012
+++ src/sys/rump/librump/rumpkern/rump.c Sun Jun 3 10:45:10 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: rump.c,v 1.240 2012/02/04 10:02:25 njoly Exp $ */
+/* $NetBSD: rump.c,v 1.241 2012/06/03 10:45:10 dsl Exp $ */
/*
* Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.240 2012/02/04 10:02:25 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.241 2012/06/03 10:45:10 dsl Exp $");
#include <sys/systm.h>
#define ELFSIZE ARCH_ELFSIZE
@@ -180,7 +180,7 @@ mksysctls(void)
sysctl_createv(NULL, 0, NULL, NULL,
CTLFLAG_PERMANENT|CTLFLAG_READWRITE, CTLTYPE_STRING, "hostname",
SYSCTL_DESCR("System hostname"), NULL, 0,
- &hostname, MAXHOSTNAMELEN, CTL_KERN, KERN_HOSTNAME, CTL_EOL);
+ hostname, MAXHOSTNAMELEN, CTL_KERN, KERN_HOSTNAME, CTL_EOL);
}
/* there's no convenient kernel entry point for this, so just craft out own */