When panicing, at least tell the _real_ reason.

This commit is contained in:
wiz 2011-03-10 22:11:05 +00:00
parent c874b8909d
commit fd1ad431e8
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: component.c,v 1.4 2011/03/10 19:24:37 pooka Exp $ */
/* $NetBSD: component.c,v 1.5 2011/03/10 22:11:05 wiz Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.4 2011/03/10 19:24:37 pooka Exp $");
__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.5 2011/03/10 22:11:05 wiz Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@ -52,5 +52,5 @@ RUMP_COMPONENT(RUMP_COMPONENT_VFS)
if ((error = rump_vfs_makeonedevnode(S_IFCHR,
"/dev/zfs", cmaj, 0)) != 0)
panic("cannot create cooked cgd dev nodes: %d", error);
panic("cannot create zfs dev nodes: %d", error);
}