diff options
| author | christos <christos@NetBSD.org> | 2015-12-08 20:36:14 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2015-12-08 20:36:14 +0000 |
| commit | 9f63582c38a46e31d7d46ac0de0191bdeb71a689 (patch) | |
| tree | fcd0e7cb5d7b65e2bf90a4d2dff5bca9b0436eb3 /sys/dev/raidframe | |
| parent | 49bbb3054f7dd87b48dd462b96b010ec72b0b824 (diff) | |
Replace DIOCGPART -> DIOCGPARTINFO which returns the data needed instead of
pointers.
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_netbsdkintf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c index 83e021974db..156bcde8f2a 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.325 2015/08/20 14:40:18 christos Exp $ */ +/* $NetBSD: rf_netbsdkintf.c,v 1.326 2015/12/08 20:36:15 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.325 2015/08/20 14:40:18 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.326 2015/12/08 20:36:15 christos Exp $"); #ifdef _KERNEL_OPT #include "opt_compat_netbsd.h" @@ -1114,7 +1114,7 @@ raidioctl(dev_t dev, u_long cmd, void *data, int flag, struct lwp *l) case ODIOCSDINFO: case ODIOCGDEFLABEL: #endif - case DIOCGPART: + case DIOCGPARTINFO: case DIOCWLABEL: case DIOCGDEFLABEL: case DIOCAWEDGE: |
