From 786a65db12fa1f3f3ca3cada1ebb28864d98a804 Mon Sep 17 00:00:00 2001 From: martymac Date: Thu, 13 Oct 2016 19:33:07 +0000 Subject: [PATCH] Fix panic() message reporting ufs instead of nandfs PR: 213438 Approved by: kib --- sys/fs/nandfs/nandfs_vnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/nandfs/nandfs_vnops.c b/sys/fs/nandfs/nandfs_vnops.c index e94c6ffe5660..1ca6eac926bb 100644 --- a/sys/fs/nandfs/nandfs_vnops.c +++ b/sys/fs/nandfs/nandfs_vnops.c @@ -2211,7 +2211,7 @@ nandfs_whiteout(struct vop_whiteout_args *ap) /* Create a new directory whiteout */ #ifdef INVARIANTS if ((cnp->cn_flags & SAVENAME) == 0) - panic("ufs_whiteout: missing name"); + panic("nandfs_whiteout: missing name"); #endif error = nandfs_add_dirent(dvp, NANDFS_WHT_INO, cnp->cn_nameptr, cnp->cn_namelen, DT_WHT);