udev-rules: add helper function for logging
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 13 May 2017 20:23:30 +0000 (16:23 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 May 2017 19:03:14 +0000 (15:03 -0400)
commit2da03cbf9d1f83fc15890ac2f70f98af15ceb924
treeed20fb46f69a6381f32e7191c6a63d23916eaa5f
parent9c0565b2c3dec698a526cade57b331004699e094
udev-rules: add helper function for logging

Avoid repeating the same conditional four times. Error messages are
capitalized.
src/udev/udev-rules.c