summaryrefslogtreecommitdiffstats
path: root/usr.bin/fstat
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-09-27 18:27:10 +0000
committerphk <phk@FreeBSD.org>2002-09-27 18:27:10 +0000
commit834ddd1bcc092e4a26f16724892636b249316d70 (patch)
treeb0967d8a8cefb34751a29b420ac0574c8e7496f7 /usr.bin/fstat
parent8b9b57067238d550b614cd13698959954d025a3f (diff)
downloadFreeBSD-src-834ddd1bcc092e4a26f16724892636b249316d70.zip
FreeBSD-src-834ddd1bcc092e4a26f16724892636b249316d70.tar.gz
Rename struct specinfo to the more appropriate struct cdev.
Agreed on: jake, rwatson, jhb
Diffstat (limited to 'usr.bin/fstat')
-rw-r--r--usr.bin/fstat/fstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c
index 38736ff..eb81388 100644
--- a/usr.bin/fstat/fstat.c
+++ b/usr.bin/fstat/fstat.c
@@ -872,14 +872,14 @@ bad:
/*
- * Read the specinfo structure in the kernel (as pointed to by a dev_t)
+ * Read the cdev structure in the kernel (as pointed to by a dev_t)
* in order to work out the associated udev_t
*/
udev_t
dev2udev(dev)
dev_t dev;
{
- struct specinfo si;
+ struct cdev si;
if (KVM_READ(dev, &si, sizeof si)) {
return si.si_udev;
OpenPOWER on IntegriCloud