Date: Wed, 18 Aug 1999 08:48:08 +0930 From: Greg Lehey <grog@lemis.com> To: Bill Fumerola <billf@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: HEADS UP: devtoname (was: cvs commit: src/sys/cam/scsi scsi_pt.c src/sys/sys conf.h src/sys/i386/isa spkr.c src/sys/kern kern_conf.c) Message-ID: <19990818084808.M7187@freebie.lemis.com> In-Reply-To: <199908172025.NAA68085@freefall.freebsd.org>; from Bill Fumerola on Tue, Aug 17, 1999 at 01:25:51PM -0700 References: <199908172025.NAA68085@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, 17 August 1999 at 13:25:51 -0700, Bill Fumerola wrote:
> billf 1999/08/17 13:25:50 PDT
>
> Modified files:
> sys/cam/scsi scsi_pt.c
> sys/sys conf.h
> sys/i386/isa spkr.c
> sys/kern kern_conf.c
> Log:
> Welcome devtoname(), to most likely be used when printing information
> about a dev_t.
>
> printf("%x", dev) now becomes printf("%s", devtoname(dev)) because
> printing actual information about the device is much more useful then
> printing a pointer to an address that would never help the developer debug.
This is nice stuff. I think it's worth a heads up. It's far too easy
to miss this kind of thing in the daily flood of updated $Id$ strings.
Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990818084808.M7187>
