summaryrefslogtreecommitdiffstats
path: root/sys/coda
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-03-15 10:01:31 +0000
committerphk <phk@FreeBSD.org>2005-03-15 10:01:31 +0000
commit4799d2dacc7b8c090147dbebdbc9e3ec7da056df (patch)
tree1341477034a329fd4c041eca055ad0ae7103145a /sys/coda
parent8ea9004b750269cfb828b35b5d25e6609effabf7 (diff)
downloadFreeBSD-src-4799d2dacc7b8c090147dbebdbc9e3ec7da056df.zip
FreeBSD-src-4799d2dacc7b8c090147dbebdbc9e3ec7da056df.tar.gz
Print devtoname() instead of minor().
Diffstat (limited to 'sys/coda')
-rw-r--r--sys/coda/coda_psdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/coda/coda_psdev.c b/sys/coda/coda_psdev.c
index f17eacd..7e71f1c 100644
--- a/sys/coda/coda_psdev.c
+++ b/sys/coda/coda_psdev.c
@@ -220,8 +220,8 @@ vc_nb_close (dev, flag, mode, td)
err = dounmount(mi->mi_vfsp, flag, td);
if (err)
- myprintf(("Error %d unmounting vfs in vcclose(%d)\n",
- err, minor(dev)));
+ myprintf(("Error %d unmounting vfs in vcclose(%s)\n",
+ err, devtoname(dev)));
return 0;
}
OpenPOWER on IntegriCloud