diff options
Diffstat (limited to 'sys/kern/subr_disk.c')
-rw-r--r-- | sys/kern/subr_disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index 88940ea98db..57a4027e57c 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_disk.c,v 1.157 2013/11/01 17:36:19 krw Exp $ */ +/* $OpenBSD: subr_disk.c,v 1.158 2013/11/18 17:45:01 deraadt Exp $ */ /* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */ /* @@ -1057,7 +1057,7 @@ dk_mountroot(void) error = disk_readlabel(&dl, rootdev, errbuf, sizeof(errbuf)); if (error) - panic(error); + panic("%s", error); if (DL_GETPSIZE(&dl.d_partitions[part]) == 0) panic("root filesystem has size 0"); |