summaryrefslogtreecommitdiff
path: root/sys/dev/pci/opl_eso.c
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2003-04-27 11:22:55 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2003-04-27 11:22:55 +0000
commitc670c56d6bb9915caf18009083d3515283a25fe1 (patch)
treeffee78ad4ad468acbebd70d511be258d28fdbd52 /sys/dev/pci/opl_eso.c
parentc9c7d16545b1bfad4519f491aa113a57ab7c7b2d (diff)
strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.
Diffstat (limited to 'sys/dev/pci/opl_eso.c')
-rw-r--r--sys/dev/pci/opl_eso.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/opl_eso.c b/sys/dev/pci/opl_eso.c
index e5469e47516..6a0afd4bb35 100644
--- a/sys/dev/pci/opl_eso.c
+++ b/sys/dev/pci/opl_eso.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: opl_eso.c,v 1.3 2002/03/14 01:26:59 millert Exp $ */
+/* $OpenBSD: opl_eso.c,v 1.4 2003/04/27 11:22:53 ho Exp $ */
/* $NetBSD: opl_eso.c,v 1.1 1999/07/12 15:13:31 kleink Exp $ */
/*
@@ -102,7 +102,7 @@ opl_eso_attach(parent, self, aux)
sc->ioh = esc->sc_sb_ioh;
sc->iot = esc->sc_sb_iot;
sc->offs = 0;
- strcpy(sc->syn.name, "ESO ");
+ strlcpy(sc->syn.name, "ESO ", sizeof sc->syn.name);
/*sc->spkrctl = 0;
sc->spkrarg = 0;*/