Return to tcopy.c CVS log | Up to [local] / src / usr.bin / tcopy |
version 1.9, 2003/06/10 22:20:53 | version 1.10, 2007/06/25 16:59:54 | ||
---|---|---|---|
|
|
||
struct mtop op; | struct mtop op; | ||
op.mt_op = type; | op.mt_op = type; | ||
op.mt_count = (daddr_t)1; | op.mt_count = 1; | ||
if (ioctl(fd, MTIOCTOP, (char *)&op) < 0) | if (ioctl(fd, MTIOCTOP, (char *)&op) < 0) | ||
err(6, "tape op"); | err(6, "tape op"); | ||
} | } |