diff options
| author | Justin T. Gibbs <gibbs@FreeBSD.org> | 1995-11-09 22:43:25 +0000 |
|---|---|---|
| committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 1995-11-09 22:43:25 +0000 |
| commit | 3501ce6d46f28bcc6c85131def13ba3946b1adbc (patch) | |
| tree | dfcff67802704cf79e8f40f72901dd4a0da68d62 /sys/dev/eisa | |
| parent | 5d0bad828011bb165963351930603a2df7fa72d1 (diff) | |
Notes
Diffstat (limited to 'sys/dev/eisa')
| -rw-r--r-- | sys/dev/eisa/eisaconf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/eisa/eisaconf.c b/sys/dev/eisa/eisaconf.c index f10869388df9..1bcf186bf378 100644 --- a/sys/dev/eisa/eisaconf.c +++ b/sys/dev/eisa/eisaconf.c @@ -18,7 +18,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: eisaconf.c,v 1.4 1995/11/06 05:20:59 gibbs Exp $ + * $Id: eisaconf.c,v 1.5 1995/11/09 07:14:11 gibbs Exp $ */ #include <sys/param.h> #include <sys/systm.h> @@ -111,12 +111,12 @@ eisa_configure() * be responsible for creating the list of devices in the system * for the configuration manager to use. */ - e_dev->full_name = (char *)malloc(14*sizeof(char), + e_dev->full_name = (char *)malloc(10*sizeof(char), M_DEVBUF, M_NOWAIT); if (!e_dev->full_name) { panic("Eisa probe unable to malloc"); } - sprintf(e_dev->full_name, "%c%c%c%x rev %x", + sprintf(e_dev->full_name, "%c%c%c%x%x", EISA_MFCTR_CHAR0(e_dev->id), EISA_MFCTR_CHAR1(e_dev->id), EISA_MFCTR_CHAR2(e_dev->id), |
