Author: martymac (ports committer)
Date: Thu Oct 13 19:33:07 2016
New Revision: 307232
URL: https://svnweb.freebsd.org/changeset/base/307232

Log:
  Fix panic() message reporting ufs instead of nandfs
  
  PR:           213438
  Approved by:  kib

Modified:
  head/sys/fs/nandfs/nandfs_vnops.c

Modified: head/sys/fs/nandfs/nandfs_vnops.c
==============================================================================
--- head/sys/fs/nandfs/nandfs_vnops.c   Thu Oct 13 19:18:00 2016        
(r307231)
+++ head/sys/fs/nandfs/nandfs_vnops.c   Thu Oct 13 19:33:07 2016        
(r307232)
@@ -2211,7 +2211,7 @@ nandfs_whiteout(struct vop_whiteout_args
                /* 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);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to