diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-03-30 16:04:37 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-03-30 16:04:37 +0200 |
commit | 76b680c7a8d5a99e46ab8d9cad49aed0cfc440a7 (patch) | |
tree | 00713ce6c4e20b87ecea9777fcaa5fe5c898dd8c /miscutils/beep.c | |
parent | 610c4c385b38280c7bde7a48d95ec019cbfe1ab4 (diff) | |
download | busybox-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/beep.c')
-rw-r--r-- | miscutils/beep.c | 2 |
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); |