Use bb_error_msg instead of bb_info_msg in all commented-out debug printouts
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user