]> git.ipfire.org Git - thirdparty/systemd.git/commit
udevadm: after validating action, use our internal string instead of optarg 18546/head
authorLennart Poettering <lennart@poettering.net>
Wed, 10 Feb 2021 21:19:41 +0000 (22:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 18 Feb 2021 17:21:25 +0000 (18:21 +0100)
commitff03bfa5080017bae850ec7f4ca5768f87bbd1e5
tree5b92780cbb28540733aab07ce8798325865d54be
parenta11300221482da7ffe7be2d75d508ddd411814f6
udevadm: after validating action, use our internal string instead of optarg

This doesn't really change anything, but feels nicer, since it abstracts
away what device_action_from_string()/device_action_to_string() do
internally, and always uses a normalized action string (yes, there's no
ambiguity, but it's nice to stay abstract, maybe one day there is
ambiguity around this)
src/udev/udevadm-test.c
src/udev/udevadm-trigger.c