summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2020-09-01 17:20:03 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2020-09-01 17:20:03 +0000
commit3c2bc1a27e9c26e13ddb7e357776bc007d24b50f (patch)
tree1217b443383713220c644fefcf8567204ed99b56 /usr.bin
parentf82e6d2da7cb7b2d8bcabb4f8b9031a9d1c2b933 (diff)
Missed WRITE_BIG -> WRITE_10
Diffstat (limited to 'usr.bin')
-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 4136815241a..0e17d31ab8e 100644
--- a/usr.bin/cdio/mmc.c
+++ b/usr.bin/cdio/mmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mmc.c,v 1.31 2017/12/23 20:04:23 cheloha Exp $ */
+/* $OpenBSD: mmc.c,v 1.32 2020/09/01 17:20:02 krw Exp $ */
/*
* Copyright (c) 2006 Michael Coulter <mjc@openbsd.org>
*
@@ -444,7 +444,7 @@ writetrack(struct track_info *tr, int track)
nblk = 65535/tr->blklen;
bzero(&scr, sizeof(scr));
scr.timeout = 300000;
- scr.cmd[0] = WRITE_BIG;
+ scr.cmd[0] = WRITE_10;
scr.cmd[1] = 0x00;
scr.cmd[8] = nblk; /* Transfer length in blocks (LSB) */
scr.cmdlen = 10;