summaryrefslogtreecommitdiff
path: root/usr.bin/fstat
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-09-27 18:27:10 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-09-27 18:27:10 +0000
commitca916247cdab4aa84a7f00de7c39b9e8c933e581 (patch)
treeb0967d8a8cefb34751a29b420ac0574c8e7496f7 /usr.bin/fstat
parentc5e827ebc87c3eadec0212fc543177485b607c53 (diff)
Notes
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 38736ff53d88..eb81388e69bb 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;