aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1995-10-31 10:45:48 +0000
committerPeter Wemm <peter@FreeBSD.org>1995-10-31 10:45:48 +0000
commitb72967f93343acfc5282bcba03e9cab548184595 (patch)
tree666e769eb57d318dcb96ae6375c9a0bdf75b4884 /sys
parente2326c6ef60f68a45ef04a8dc1a1b31df472314c (diff)
downloadsrc-b72967f93343acfc5282bcba03e9cab548184595.tar.gz
src-b72967f93343acfc5282bcba03e9cab548184595.zip
mfs_open could panic with false identification: panic("mfs_ioctl: ....
Notes
Notes: svn path=/head/; revision=11953
Diffstat (limited to 'sys')
-rw-r--r--sys/ufs/mfs/mfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/mfs/mfs_vnops.c b/sys/ufs/mfs/mfs_vnops.c
index d0f6a644f180..a706419cdccc 100644
--- a/sys/ufs/mfs/mfs_vnops.c
+++ b/sys/ufs/mfs/mfs_vnops.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)mfs_vnops.c 8.3 (Berkeley) 9/21/93
- * $Id: mfs_vnops.c,v 1.9 1995/03/19 14:29:22 davidg Exp $
+ * $Id: mfs_vnops.c,v 1.10 1995/05/11 19:26:53 rgrimes Exp $
*/
#include <sys/param.h>
@@ -129,7 +129,7 @@ mfs_open(ap)
{
if (ap->a_vp->v_type != VBLK) {
- panic("mfs_ioctl not VBLK");
+ panic("mfs_open not VBLK");
/* NOTREACHED */
}
return (0);