diff options
author | Kay Sievers <kay@vrfy.org> | 2012-07-26 12:03:25 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-07-26 12:03:25 +0200 |
commit | e239cd8de06a62c9adc71ff1329a1ce76e8735a5 (patch) | |
tree | 58baa90662463e47724ed592c5dbdbfb5effa281 /src/udev/accelerometer | |
parent | 0d0f0c50d3a1d90f03972a6abb82e6413daaa583 (diff) |
udev: cdrom_id, accelerometer - enable debug output for --debug
Diffstat (limited to 'src/udev/accelerometer')
-rw-r--r-- | src/udev/accelerometer/accelerometer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/accelerometer/accelerometer.c b/src/udev/accelerometer/accelerometer.c index 08be363370..b8ed7b8edd 100644 --- a/src/udev/accelerometer/accelerometer.c +++ b/src/udev/accelerometer/accelerometer.c @@ -277,8 +277,8 @@ int main (int argc, char** argv) switch (option) { case 'd': debug = 1; - if (udev_get_log_priority(udev) < LOG_INFO) - udev_set_log_priority(udev, LOG_INFO); + log_set_max_level(LOG_DEBUG); + udev_set_log_priority(udev, LOG_DEBUG); break; case 'h': help(); |