Hi,

> I wonder if the errors should only be shown if an environment variable
> is set or something?

You could sort the messages of lib/driver/netbsd.c into libcdio's log level
spectrum, rather than using fprintf(stderr) or perror():
cdio_debug(), cdio_info(), cdio_warn(), cdio_error().

(I dimly remember to have had problems when trying to enable or disable
printing of those in the demo programs. But cdio_log_level_t in
include/cdio/logging.h gives hope that it can be done.)


Have a nice day :)

Thomas


Reply via email to