diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2003-04-27 11:22:55 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2003-04-27 11:22:55 +0000 |
commit | c670c56d6bb9915caf18009083d3515283a25fe1 (patch) | |
tree | ffee78ad4ad468acbebd70d511be258d28fdbd52 /sys/dev/pci/opl_yds.c | |
parent | c9c7d16545b1bfad4519f491aa113a57ab7c7b2d (diff) |
strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.
Diffstat (limited to 'sys/dev/pci/opl_yds.c')
-rw-r--r-- | sys/dev/pci/opl_yds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/opl_yds.c b/sys/dev/pci/opl_yds.c index 5835c03a586..8210c3c9787 100644 --- a/sys/dev/pci/opl_yds.c +++ b/sys/dev/pci/opl_yds.c @@ -1,4 +1,4 @@ -/* $OpenBSD: opl_yds.c,v 1.3 2002/03/14 01:26:59 millert Exp $ */ +/* $OpenBSD: opl_yds.c,v 1.4 2003/04/27 11:22:53 ho Exp $ */ /* $NetBSD$ */ /* @@ -104,7 +104,7 @@ opl_yds_attach(parent, self, aux) sc->ioh = ssc->sc_opl_ioh; sc->iot = ssc->sc_opl_iot; sc->offs = 0; - strcpy(sc->syn.name, "DS-1 integrated "); + strlcpy(sc->syn.name, "DS-1 integrated ", sizeof sc->syn.name); opl_attach(sc); } |