mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Print name of device instead of useless major/minor numbers.
This commit is contained in:
parent
fa37cdf60b
commit
97eb8cfae0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144278
@ -823,10 +823,9 @@ lf_printlist(tag, lock)
|
||||
if (lock->lf_inode == (struct inode *)0)
|
||||
return;
|
||||
|
||||
printf("%s: Lock list for ino %ju on dev <%d, %d>:\n",
|
||||
printf("%s: Lock list for ino %ju on dev <%s>:\n",
|
||||
tag, (uintmax_t)lock->lf_inode->i_number,
|
||||
major(lock->lf_inode->i_dev),
|
||||
minor(lock->lf_inode->i_dev));
|
||||
devtoname(lock->lf_inode->i_dev));
|
||||
for (lf = lock->lf_inode->i_lockf; lf; lf = lf->lf_next) {
|
||||
printf("\tlock %p for ",(void *)lf);
|
||||
if (lf->lf_flags & F_POSIX)
|
||||
|
Loading…
Reference in New Issue
Block a user