aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-03-30 16:04:37 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-03-30 16:04:37 +0200
commit76b680c7a8d5a99e46ab8d9cad49aed0cfc440a7 (patch)
tree00713ce6c4e20b87ecea9777fcaa5fe5c898dd8c /miscutils
parent610c4c385b38280c7bde7a48d95ec019cbfe1ab4 (diff)
downloadbusybox-w32-76b680c7a8d5a99e46ab8d9cad49aed0cfc440a7.tar.gz
busybox-w32-76b680c7a8d5a99e46ab8d9cad49aed0cfc440a7.tar.bz2
busybox-w32-76b680c7a8d5a99e46ab8d9cad49aed0cfc440a7.zip
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')
-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);