]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd/sd-device/sd-device.c
libsystemd: sd-device - translate / vs. ! in sysname 1466/head
authorKay Sievers <kay@vrfy.org>
Mon, 5 Oct 2015 22:41:32 +0000 (00:41 +0200)
committerKay Sievers <kay@vrfy.org>
Mon, 5 Oct 2015 22:41:32 +0000 (00:41 +0200)
commita9ec9f29420623133c419ddc8864921a824751fb
tree15ea4df345bcc26b66a090eb3e9a38f90fc0f704
parentf4e5a03ed7d62e21b5533a7e1124d610bd0a81a4
libsystemd: sd-device - translate / vs. ! in sysname

The kernel replaces '/' in device names with '!', we translate that back
to '/' in sysname, when taking sysname as input, we should translate it
back again.
src/libsystemd/sd-device/sd-device.c