diff options
Diffstat (limited to 'sys/i386/isa/sound/sound_timer.c')
-rw-r--r-- | sys/i386/isa/sound/sound_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/sound/sound_timer.c b/sys/i386/isa/sound/sound_timer.c index 8450b2d..cef7596 100644 --- a/sys/i386/isa/sound/sound_timer.c +++ b/sys/i386/isa/sound/sound_timer.c @@ -335,7 +335,7 @@ sound_timer_init(struct sound_lowlev_timer * t, char *name) else n = num_sound_timers++; - strcpy(sound_timer.info.name, name); + snprintf(sound_timer.info.name, sizeof(sound_timer.info.name), "%s", name); sound_timer_devs[n] = &sound_timer; } |