diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1999-10-01 14:12:46 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1999-10-01 14:12:46 +0000 |
| commit | fd1313cbc6afd8c8a123bbc5a04b66886af00bc5 (patch) | |
| tree | d53967b35e653f3a006f795f50df3ce58f52144d /usr.sbin/wormcontrol | |
| parent | 45a2482a9e286b06ca5a6e7d84c177ce801b0637 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/wormcontrol')
| -rw-r--r-- | usr.sbin/wormcontrol/wormcontrol.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/wormcontrol/wormcontrol.c b/usr.sbin/wormcontrol/wormcontrol.c index 81f857ab1bc05..de793df2d509a 100644 --- a/usr.sbin/wormcontrol/wormcontrol.c +++ b/usr.sbin/wormcontrol/wormcontrol.c @@ -156,13 +156,11 @@ main(int argc, char **argv) err(EX_IOERR, "ioctl(WORMIOFIXATION)"); } else if (eq(argv[0], "blank")) { -#define CDRIOCBLANK _IO('c',100) /* Blank a CDRW disc */ if (ioctl(fd, CDRIOCBLANK) == -1) err(EX_IOERR, "ioctl(CDRIOCBLANK)"); } else if (eq(argv[0], "nextwriteable")) { int addr; -#define CDRIOCNEXTWRITEABLEADDR _IOR('c',101,int) if (ioctl(fd, CDRIOCNEXTWRITEABLEADDR, &addr) == -1) err(EX_IOERR, "ioctl(CDRIOCNEXTWRITEABLEADDR)"); printf("%d\n", addr); |
