diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-09-14 22:38:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-09-14 22:38:20 +0000 |
commit | 0b9c40ee31272cc62a98f7459010bf8c3f6f55da (patch) | |
tree | ae2c49f3739940e1b3778e3259aff894046d59d6 /sbin | |
parent | c613458467352c922c42331d7f5c186ed15ac8dc (diff) |
wrong type to ioctl; naddy@mips.inka.de
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/restore/tape.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c index 29d64ab28d8..8168d07cf60 100644 --- a/sbin/restore/tape.c +++ b/sbin/restore/tape.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tape.c,v 1.15 2000/06/16 16:43:18 deraadt Exp $ */ +/* $OpenBSD: tape.c,v 1.16 2000/09/14 22:38:19 deraadt Exp $ */ /* $NetBSD: tape.c,v 1.26 1997/04/15 07:12:25 lukem Exp $ */ /* @@ -472,7 +472,7 @@ setdumpnum() rmtioctl(MTFSF, dumpnum - 1); else #endif - if (ioctl(mt, (int)MTIOCTOP, (char *)&tcom) < 0) + if (ioctl(mt, MTIOCTOP, (char *)&tcom) < 0) warn("ioctl MTFSF"); } |