aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/wormcontrol
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-10-01 14:12:46 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-10-01 14:12:46 +0000
commitfd1313cbc6afd8c8a123bbc5a04b66886af00bc5 (patch)
treed53967b35e653f3a006f795f50df3ce58f52144d /usr.sbin/wormcontrol
parent45a2482a9e286b06ca5a6e7d84c177ce801b0637 (diff)
Notes
Diffstat (limited to 'usr.sbin/wormcontrol')
-rw-r--r--usr.sbin/wormcontrol/wormcontrol.c2
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);