Skip to content

Commit ec56ec0

Browse files
committed
No need for an informational printf to flagged as an error.
From Denis Ahrens.
1 parent 9a0dbd0 commit ec56ec0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

sys/dev/ic/clmpcc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: clmpcc.c,v 1.54 2019/11/10 21:16:35 chs Exp $ */
1+
/* $NetBSD: clmpcc.c,v 1.55 2026/03/18 05:09:12 thorpej Exp $ */
22

33
/*-
44
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
3434
*/
3535

3636
#include <sys/cdefs.h>
37-
__KERNEL_RCSID(0, "$NetBSD: clmpcc.c,v 1.54 2019/11/10 21:16:35 chs Exp $");
37+
__KERNEL_RCSID(0, "$NetBSD: clmpcc.c,v 1.55 2026/03/18 05:09:12 thorpej Exp $");
3838

3939
#include "opt_ddb.h"
4040

@@ -310,8 +310,8 @@ clmpcc_attach(struct clmpcc_softc *sc)
310310
tty_attach(tp);
311311
}
312312

313-
aprint_error_dev(sc->sc_dev, "%d channels available",
314-
CLMPCC_NUM_CHANS);
313+
device_printf(sc->sc_dev, "%d channels available",
314+
CLMPCC_NUM_CHANS);
315315
if ( cons_sc == sc ) {
316316
printf(", console on channel %d.\n", cons_chan);
317317
SET(sc->sc_chans[cons_chan].ch_flags, CLMPCC_FLG_IS_CONSOLE);

0 commit comments

Comments
 (0)