Print devtoname() instead of minor().

This commit is contained in:
Poul-Henning Kamp 2005-03-15 10:01:31 +00:00
parent 40d04a26a0
commit 6bc6a87cc9
2 changed files with 4 additions and 4 deletions

View File

@ -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;
}

View File

@ -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;
}