mirror of
https://github.com/openbsd/src.git
synced 2025-01-03 06:45:37 -08:00
Use warnx(), not warn(), when 'errno' is not relevant.
This commit is contained in:
parent
f8c806b8e6
commit
6e8568b906
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user