diff options
Diffstat (limited to 'sys/dev/isa/isapnp.c')
-rw-r--r-- | sys/dev/isa/isapnp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/isa/isapnp.c b/sys/dev/isa/isapnp.c index 9363a402c38..3768317b4f7 100644 --- a/sys/dev/isa/isapnp.c +++ b/sys/dev/isa/isapnp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isapnp.c,v 1.34 2002/07/07 18:20:00 miod Exp $ */ +/* $OpenBSD: isapnp.c,v 1.35 2003/04/27 11:22:53 ho Exp $ */ /* $NetBSD: isapnp.c,v 1.9.4.3 1997/10/29 00:40:43 thorpej Exp $ */ /* @@ -862,7 +862,8 @@ isapnp_match(parent, match, aux) sc.sc_iot = ia->ia_iot; sc.sc_ncards = 0; - (void) strcpy(sc.sc_dev.dv_xname, "(isapnp probe)"); + (void) strlcpy(sc.sc_dev.dv_xname, "(isapnp probe)", + sizeof sc.sc_dev.dv_xname); if (isapnp_map(&sc)) return 0; |