summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ac97.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/ac97.c')
-rw-r--r--sys/dev/ic/ac97.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ac97.c b/sys/dev/ic/ac97.c
index d4e5553234c..0dcc07bb644 100644
--- a/sys/dev/ic/ac97.c
+++ b/sys/dev/ic/ac97.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ac97.c,v 1.35 2003/04/09 20:05:47 mickey Exp $ */
+/* $OpenBSD: ac97.c,v 1.36 2003/04/27 11:22:52 ho Exp $ */
/*
* Copyright (c) 1999, 2000 Constantine Sapuntzakis
@@ -778,7 +778,7 @@ ac97_query_devinfo(codec_if, dip)
name = si->class;
if (name)
- strcpy(dip->label.name, name);
+ strlcpy(dip->label.name, name, sizeof dip->label.name);
bcopy(si->info, &dip->un, si->info_size);