summaryrefslogtreecommitdiff
path: root/src/rfkill/rfkill.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-10-14 19:01:09 +0200
committerLennart Poettering <lennart@poettering.net>2013-10-14 19:02:44 +0200
commitbe3f52f4ed02a9256b1577719677b32a17b525ac (patch)
tree488cd3cc70190f3ca82034b6d2811a0106da0bfa /src/rfkill/rfkill.c
parentf6f738db7273f8a2092ac372852f37f2a34cea17 (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.c2
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);