diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2022-10-10 15:04:10 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2022-10-10 15:04:10 +0000 |
commit | b80f022fb2b646d42e6b95256ac90b07b78b21df (patch) | |
tree | a3d38113963f6fcf4d2089529d40b3a3e16d37a9 | |
parent | db3a254828f442987d861024611a21558590f1c2 (diff) |
Use warnx(), not warn(), when 'errno' is not relevant.
-rw-r--r-- | usr.bin/cdio/mmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cdio/mmc.c b/usr.bin/cdio/mmc.c index 9e091cc3bcc..06b47ab9418 100644 --- a/usr.bin/cdio/mmc.c +++ b/usr.bin/cdio/mmc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mmc.c,v 1.33 2021/11/28 19:28:42 deraadt Exp $ */ +/* $OpenBSD: mmc.c,v 1.34 2022/10/10 15:04:09 krw Exp $ */ /* * Copyright (c) 2006 Michael Coulter <mjc@openbsd.org> * @@ -412,7 +412,7 @@ writetao(struct track_head *thp) modebuf[8+8+bdlen] = 0x00; /* turn off XA */ break; default: - warn("impossible tracktype detected"); + warnx("impossible tracktype detected"); break; } while (unit_ready() != SCCMD_OK) |