diff options
author | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-06-28 23:56:41 +0000 |
---|---|---|
committer | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-06-28 23:56:41 +0000 |
commit | 4205092d1e7021b696da11bcde449f47a65cb4e0 (patch) | |
tree | 72541876848463a5bf5bd8f9826f5916b7263198 | |
parent | 9a8ebf500c3d4316bb2b707fc798478c68905acf (diff) |
supply missing argument to a panic string; ok tedu, deraadt
-rw-r--r-- | sys/dev/ic/gdt_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/gdt_common.c b/sys/dev/ic/gdt_common.c index cc021dbba5f..d113838d38d 100644 --- a/sys/dev/ic/gdt_common.c +++ b/sys/dev/ic/gdt_common.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gdt_common.c,v 1.25 2003/06/03 20:49:28 deraadt Exp $ */ +/* $OpenBSD: gdt_common.c,v 1.26 2003/06/28 23:56:40 avsm Exp $ */ /* * Copyright (c) 1999, 2000 Niklas Hallqvist. All rights reserved. @@ -392,7 +392,7 @@ gdt_attach(gdt) #if NBIO > 0 if (bio_register(&gdt->sc_dev, gdt_ioctl) != 0) - panic("%s: controller registration failed"); + panic("%s: controller registration failed", gdt->sc_dev.dv_xname); #endif gdt_cnt++; |