diff options
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_netbsdkintf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c index 889b4dbc3d9..44cd59bbace 100644 --- a/sys/dev/raidframe/rf_netbsdkintf.c +++ b/sys/dev/raidframe/rf_netbsdkintf.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_netbsdkintf.c,v 1.77 2000/04/27 00:57:48 oster Exp $ */ +/* $NetBSD: rf_netbsdkintf.c,v 1.78 2000/05/19 04:53:25 minoura Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -1065,15 +1065,15 @@ raidioctl(dev, cmd, data, flag, p) return (retcode); case RAIDFRAME_SET_AUTOCONFIG: - d = rf_set_autoconfig(raidPtr, *data); + d = rf_set_autoconfig(raidPtr, *(int *) data); printf("New autoconfig value is: %d\n", d); - *data = d; + *(int *) data = d; return (retcode); case RAIDFRAME_SET_ROOT: - d = rf_set_rootpartition(raidPtr, *data); + d = rf_set_rootpartition(raidPtr, *(int *) data); printf("New rootpartition value is: %d\n", d); - *data = d; + *(int *) data = d; return (retcode); /* initialize all parity */ |
