mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
Fix the retyping of the ioctl cmd parm from int to u_long.
This commit is contained in:
parent
5b496c24c1
commit
c698d2b0d1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36737
@ -23,7 +23,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: slice_device.c,v 1.4 1998/04/24 07:53:55 julian Exp $
|
||||
* $Id: slice_device.c,v 1.5 1998/05/06 22:14:34 julian Exp $
|
||||
*/
|
||||
#define DIAGNOSTIC 1
|
||||
#include "opt_hw_wdog.h"
|
||||
@ -147,7 +147,7 @@ minor_to_slice(unsigned int minor)
|
||||
|
||||
|
||||
int
|
||||
slcdevioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc * p)
|
||||
slcdevioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc * p)
|
||||
{
|
||||
sl_p slice = minor_to_slice(minor(dev));
|
||||
int error = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user