Mercurial > illumos > illumos-gate
changeset 13578:dbfc0ca2987b
2003 md_trans_ioctl() has incorrect declaration
Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
author | Milan Jurik <milan.jurik@xylab.cz> |
---|---|
date | Sun, 22 Jan 2012 10:22:06 +0100 |
parents | 39608e1faa5f |
children | eb88ab5c1435 |
files | usr/src/uts/common/io/lvm/trans/trans_ioctl.c |
diffstat | 1 files changed, 3 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/io/lvm/trans/trans_ioctl.c Thu Jan 26 14:49:36 2012 +0300 +++ b/usr/src/uts/common/io/lvm/trans/trans_ioctl.c Sun Jan 22 10:22:06 2012 +0100 @@ -22,6 +22,7 @@ /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * Copyright 2012 Milan Jurik. All rights reserved. */ #include <sys/param.h> @@ -1502,12 +1503,7 @@ } static int -trans_admin_ioctl( - int cmd, - caddr_t data, - int mode, - IOLOCK *lockp -) +trans_admin_ioctl(int cmd, void *data, int mode, IOLOCK *lockp) { size_t sz = 0; void *d = NULL; @@ -1936,13 +1932,7 @@ } int -md_trans_ioctl( - dev_t dev, - int cmd, - caddr_t data, - int mode, - IOLOCK *lockp -) +md_trans_ioctl(dev_t dev, int cmd, void *data, int mode, IOLOCK *lockp) { minor_t mnum = getminor(dev); mt_unit_t *un;