aboutsummaryrefslogtreecommitdiff
path: root/miscutils/beep.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/beep.c')
-rw-r--r--miscutils/beep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/beep.c b/miscutils/beep.c
index 910e03e1b..18b160cc4 100644
--- a/miscutils/beep.c
+++ b/miscutils/beep.c
@@ -88,7 +88,7 @@ int beep_main(int argc, char **argv)
88 bb_show_usage(); 88 bb_show_usage();
89 } 89 }
90 while (rep) { 90 while (rep) {
91//bb_info_msg("rep[%d] freq=%d, length=%d, delay=%d", rep, freq, length, delay); 91//bb_error_msg("rep[%d] freq=%d, length=%d, delay=%d", rep, freq, length, delay);
92 xioctl(speaker, KIOCSOUND, (void*)(uintptr_t)tickrate_div_freq); 92 xioctl(speaker, KIOCSOUND, (void*)(uintptr_t)tickrate_div_freq);
93 usleep(1000 * length); 93 usleep(1000 * length);
94 ioctl(speaker, KIOCSOUND, (void*)0); 94 ioctl(speaker, KIOCSOUND, (void*)0);