Source-Changes-HG archive

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

[src/trunk]: src/tests/modules/k_helper Fix build - delete extra &



details:   https://anonhg.NetBSD.org/src/rev/8384617f9ec2
branches:  trunk
changeset: 779567:8384617f9ec2
user:      dsl <dsl%NetBSD.org@localhost>
date:      Sun Jun 03 10:59:44 2012 +0000

description:
Fix build - delete extra &

diffstat:

 tests/modules/k_helper/k_helper.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r be6317df8959 -r 8384617f9ec2 tests/modules/k_helper/k_helper.c
--- a/tests/modules/k_helper/k_helper.c Sun Jun 03 10:53:51 2012 +0000
+++ b/tests/modules/k_helper/k_helper.c Sun Jun 03 10:59:44 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: k_helper.c,v 1.5 2010/11/03 16:10:23 christos Exp $    */
+/*     $NetBSD: k_helper.c,v 1.6 2012/06/03 10:59:44 dsl Exp $ */
 /*
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: k_helper.c,v 1.5 2010/11/03 16:10:23 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: k_helper.c,v 1.6 2012/06/03 10:59:44 dsl Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -88,7 +88,7 @@
                       CTLFLAG_PERMANENT,
                       CTLTYPE_STRING, "prop_str_val",
                       SYSCTL_DESCR("String property's value"),
-                      NULL, 0, &prop_str_val, 0,
+                      NULL, 0, prop_str_val, 0,
                       CTL_VENDOR, K_HELPER, K_HELPER_PROP_STR_VAL, CTL_EOL);
 
        sysctl_createv(clog, 0, NULL, NULL,



Home | Main Index | Thread Index | Old Index