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 cef7596f0962e..8450b2d73503d 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++; - snprintf(sound_timer.info.name, sizeof(sound_timer.info.name), "%s", name); + strcpy(sound_timer.info.name, name); sound_timer_devs[n] = &sound_timer; } |