diff options
Diffstat (limited to 'sys/dev/isa/sb_isa.c')
-rw-r--r-- | sys/dev/isa/sb_isa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/sb_isa.c b/sys/dev/isa/sb_isa.c index a4ced78c864..999e9c6c7dd 100644 --- a/sys/dev/isa/sb_isa.c +++ b/sys/dev/isa/sb_isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sb_isa.c,v 1.6 2002/03/14 01:26:56 millert Exp $ */ +/* $OpenBSD: sb_isa.c,v 1.7 2003/04/27 11:22:53 ho Exp $ */ /* $NetBSD: sb_isa.c,v 1.15 1997/11/30 15:32:25 drochner Exp $ */ /* @@ -97,7 +97,7 @@ sb_isa_match(parent, match, aux) #else sc->sc_dev.dv_cfdata = match; #endif - strcpy(sc->sc_dev.dv_xname, "sb"); + strlcpy(sc->sc_dev.dv_xname, "sb", sizeof sc->sc_dev.dv_xname); return sbfind(parent, sc, aux); } |