Improve a diagnostic message.
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 26 Dec 2008 18:50:44 +0000 (10:50 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 26 Dec 2008 18:50:44 +0000 (10:50 -0800)
sys/kern/vfs_cache.c

index ce4feab..dc9ba6d 100644 (file)
@@ -2153,7 +2153,9 @@ cache_resolve_mp(struct mount *mp)
                                _cache_setvp(ncp, vp);
                                vput(vp);
                        } else {
-                               kprintf("[diagnostic] cache_resolve_mp: failed to resolve mount %p\n", mp);
+                               kprintf("[diagnostic] cache_resolve_mp: failed"
+                                       " to resolve mount %p err=%d ncp=%p\n",
+                                       mp, error, ncp);
                                _cache_setvp(ncp, NULL);
                        }
                } else if (error == 0) {