From 6e8568b90610b9556935b5a812695e4f664c6722 Mon Sep 17 00:00:00 2001 From: krw Date: Mon, 10 Oct 2022 15:04:09 +0000 Subject: [PATCH] Use warnx(), not warn(), when 'errno' is not relevant. --- usr.bin/cdio/mmc.c | 4 ++-- 1 file 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 * @@ -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) -- 2.20.1