Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern Fix build now that sysctl_createv(...
details: https://anonhg.NetBSD.org/src/rev/0d3519869f51
branches: trunk
changeset: 779565:0d3519869f51
user: dsl <dsl%NetBSD.org@localhost>
date: Sun Jun 03 10:45:10 2012 +0000
description:
Fix build now that sysctl_createv() checks its arg type.
diffstat:
sys/rump/librump/rumpkern/rump.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f2686f09d81c -r 0d3519869f51 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c Sun Jun 03 04:29:40 2012 +0000
+++ b/sys/rump/librump/rumpkern/rump.c Sun Jun 03 10:45:10 2012 +0000
@@ -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 @@
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 */
Home |
Main Index |
Thread Index |
Old Index