Subject: Re: Convert kernel printf() to aprint_*() or log()
To: Matt Fleming <mjf@NetBSD.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: tech-kern
Date: 03/15/2007 13:50:21
mjf@NetBSD.org said:
> What duplication?
Eg in kern/subr_autoconf:
if (parent == ROOT) {
aprint_naive("%s (root)", dev->dv_xname);
aprint_normal("%s (root)", dev->dv_xname);
} else {
aprint_naive("%s at %s", dev->dv_xname, parent->dv_xname);
aprint_normal("%s at %s", dev->dv_xname, parent->dv_xname);
best regards
Matthias