diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2009-05-31 19:35:41 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2009-05-31 19:35:41 +0000 |
| commit | ec034df134b277b450fea2b0e700bf280b0ef2b7 (patch) | |
| tree | 530bd0dac9786416dad1937bdf5bf4d407e19fe2 /sys/dev/syscons/scterm-teken.c | |
| parent | 912ee8a8a39470a1dd495d8771f02ed07c19361d (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons/scterm-teken.c')
| -rw-r--r-- | sys/dev/syscons/scterm-teken.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/syscons/scterm-teken.c b/sys/dev/syscons/scterm-teken.c index 491f82ab3c2b..3ec6b4474363 100644 --- a/sys/dev/syscons/scterm-teken.c +++ b/sys/dev/syscons/scterm-teken.c @@ -491,7 +491,7 @@ scteken_copy(void *arg, const teken_rect_t *r, const teken_pos_t *p) } static void -scteken_param(void *arg, int cmd, int value) +scteken_param(void *arg, int cmd, unsigned int value) { scr_stat *scp = arg; @@ -508,6 +508,10 @@ scteken_param(void *arg, int cmd, int value) case TP_SWITCHVT: sc_switch_scr(scp->sc, value); break; + case TP_SETBELLPD: + scp->bell_pitch = TP_SETBELLPD_PITCH(value); + scp->bell_duration = TP_SETBELLPD_DURATION(value); + break; } } |
