aboutsummaryrefslogtreecommitdiff
path: root/miscutils/beep.c
diff options
context:
space:
mode:
authorGravatar Denys Vlasenko <vda.linux@googlemail.com>2016-03-30 16:04:37 +0200
committerGravatar Denys Vlasenko <vda.linux@googlemail.com>2016-03-30 16:04:37 +0200
commit76b680c7a8d5a99e46ab8d9cad49aed0cfc440a7 (patch)
tree00713ce6c4e20b87ecea9777fcaa5fe5c898dd8c /miscutils/beep.c
parent610c4c385b38280c7bde7a48d95ec019cbfe1ab4 (diff)
downloadbusybox-76b680c7a8d5a99e46ab8d9cad49aed0cfc440a7.tar.gz
busybox-76b680c7a8d5a99e46ab8d9cad49aed0cfc440a7.tar.bz2
Use bb_error_msg instead of bb_info_msg in all commented-out debug printouts
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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)
bb_show_usage();
}
while (rep) {
-//bb_info_msg("rep[%d] freq=%d, length=%d, delay=%d", rep, freq, length, delay);
+//bb_error_msg("rep[%d] freq=%d, length=%d, delay=%d", rep, freq, length, delay);
xioctl(speaker, KIOCSOUND, (void*)(uintptr_t)tickrate_div_freq);
usleep(1000 * length);
ioctl(speaker, KIOCSOUND, (void*)0);