Date: Tue, 3 Nov 2009 11:41:21 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/sysctl sysctl.c Message-ID: <200911031141.nA3BfXka022502@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-11-03 11:41:21 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
SVN rev 198850 on 2009-11-03 11:41:21Z by ed
Just use devname(3) to print device names.
Right now sysctl just prints the major/minor numbers of a device.
Instead of rolling our own routine for this, we'd better just call
devname(3) to perform a translation to a device name for us.
Revision Changes Path
1.92 +1 -8 src/sbin/sysctl/sysctl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911031141.nA3BfXka022502>
