Print devtoname() instead of minor().
This commit is contained in:
parent
40d04a26a0
commit
6bc6a87cc9
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user