Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe You need a star :-)



details:   https://anonhg.NetBSD.org/src/rev/162d3ae6657b
branches:  trunk
changeset: 448679:162d3ae6657b
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 07 03:03:00 2019 +0000

description:
You need a star :-)

diffstat:

 sys/dev/raidframe/rf_netbsdkintf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d7105a88d12a -r 162d3ae6657b sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Thu Feb 07 00:24:59 2019 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Thu Feb 07 03:03:00 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_netbsdkintf.c,v 1.372 2019/02/06 23:00:16 christos Exp $    */
+/*     $NetBSD: rf_netbsdkintf.c,v 1.373 2019/02/07 03:03:00 christos Exp $    */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
  ***********************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.372 2019/02/06 23:00:16 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.373 2019/02/07 03:03:00 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_raid_autoconfig.h"
@@ -1167,7 +1167,7 @@
        if (*k_cfg == NULL) {
                return ENOMEM;
        }
-       int retcode = copyin(u_cfg, k_cfg, sizeof(RF_Config_t));
+       int retcode = copyin(u_cfg, *k_cfg, sizeof(RF_Config_t));
        if (retcode == 0)
                return 0;
        RF_Free(*k_cfg, sizeof(RF_Config_t));



Home | Main Index | Thread Index | Old Index