artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9b6baf
)
Include the vnode type in the panic message in ffs_write(), just like ffs_read()
author
anton
<anton@openbsd.org>
Sat, 21 Jul 2018 09:35:08 +0000
(09:35 +0000)
committer
anton
<anton@openbsd.org>
Sat, 21 Jul 2018 09:35:08 +0000
(09:35 +0000)
does.
ok deraadt@ kettenis@
sys/ufs/ffs/ffs_vnops.c
patch
|
blob
|
history
diff --git
a/sys/ufs/ffs/ffs_vnops.c
b/sys/ufs/ffs/ffs_vnops.c
index
99aeed8
..
09ca4bd
100644
(file)
--- a/
sys/ufs/ffs/ffs_vnops.c
+++ b/
sys/ufs/ffs/ffs_vnops.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ffs_vnops.c,v 1.9
1 2018/07/02 20:56:22 bluhm
Exp $ */
+/* $OpenBSD: ffs_vnops.c,v 1.9
2 2018/07/21 09:35:08 anton
Exp $ */
/* $NetBSD: ffs_vnops.c,v 1.7 1996/05/11 18:27:24 mycroft Exp $ */
/*
@@
-315,7
+315,7
@@
ffs_write(void *v)
panic("ffs_write: nonsync dir write");
break;
default:
- panic("ffs_write: type
"
);
+ panic("ffs_write: type
%d", vp->v_type
);
}
fs = ip->i_fs;