diff options
Diffstat (limited to 'apps/sensors/sensors.cpp')
-rw-r--r-- | apps/sensors/sensors.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/sensors/sensors.cpp b/apps/sensors/sensors.cpp index 55786333f..c099509a7 100644 --- a/apps/sensors/sensors.cpp +++ b/apps/sensors/sensors.cpp @@ -640,8 +640,8 @@ Sensors::adc_init() _fd_adc = open("/dev/adc0", O_RDONLY | O_NONBLOCK); if (_fd_adc < 0) { - warn("/dev/adc0"); - errx(1, "FATAL: no ADC found"); + warnx("/dev/adc0"); + warnx(1, "FATAL: no ADC found"); } } |