diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-10-14 19:01:09 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-10-14 19:02:44 +0200 |
commit | be3f52f4ed02a9256b1577719677b32a17b525ac (patch) | |
tree | 488cd3cc70190f3ca82034b6d2811a0106da0bfa /src/rfkill/rfkill.c | |
parent | f6f738db7273f8a2092ac372852f37f2a34cea17 (diff) |
backlight: include ID_PATH in file names for backlight settings
Much like for rfkill devices we should provide some stability regarding
enumeration order, hence include the stable bits of the device path in
the file name we store settings under.
Diffstat (limited to 'src/rfkill/rfkill.c')
-rw-r--r-- | src/rfkill/rfkill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rfkill/rfkill.c b/src/rfkill/rfkill.c index ad1d63d32d..812cf408fb 100644 --- a/src/rfkill/rfkill.c +++ b/src/rfkill/rfkill.c @@ -86,7 +86,7 @@ int main(int argc, char *argv[]) { return EXIT_FAILURE; } - saved = strjoin("/var/lib/systemd/rfkill/", escaped_path_id, "-", escaped_name, NULL); + saved = strjoin("/var/lib/systemd/rfkill/", escaped_path_id, ":", escaped_name, NULL); } else saved = strjoin("/var/lib/systemd/rfkill/", escaped_name, NULL); |