summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Coulter <mjc@cvs.openbsd.org>2006-06-06 22:18:12 +0000
committerMichael Coulter <mjc@cvs.openbsd.org>2006-06-06 22:18:12 +0000
commit7e61aed5a1b2e1579a8c0bffd6506b03b0389ba4 (patch)
tree7744c7fcd04d7d5aa2f6a32f45ac43e42c546693
parent34fd3e9d96d529c2f0a13451d2b5fcca955bd8c5 (diff)
zap another magic number
spotted by deraadt@
-rw-r--r--usr.bin/cdio/mmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cdio/mmc.c b/usr.bin/cdio/mmc.c
index d4cafe82994..373fdc2fc5e 100644
--- a/usr.bin/cdio/mmc.c
+++ b/usr.bin/cdio/mmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mmc.c,v 1.8 2006/06/06 20:48:07 mjc Exp $ */
+/* $OpenBSD: mmc.c,v 1.9 2006/06/06 22:18:11 mjc Exp $ */
/*
* Copyright (c) 2006 Michael Coulter <mjc@openbsd.org>
@@ -181,7 +181,7 @@ writetrack(struct track_info *tr)
nblk = 65535/tr->blklen;
bzero(&scr, sizeof(scr));
scr.timeout = 300000;
- scr.cmd[0] = 0x2a;
+ scr.cmd[0] = WRITE_BIG;
scr.cmd[1] = 0x00;
scr.cmd[8] = nblk; /* Transfer length in blocks (LSB) */
scr.cmdlen = 10;