summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-28 22:32:27 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-28 22:32:27 +0200
commit7fcde28044351a9d2780916b69ff67e5c4e27e01 (patch)
treee8582edcf5b34859e6123f86ed11867b0f63943f /src
parent4aa8b15b0c378eeb5773f74c27836be06da484f3 (diff)
tmpfiles: move dir to /etc/tempfiles.d/
Diffstat (limited to 'src')
-rw-r--r--src/tmpfiles.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tmpfiles.c b/src/tmpfiles.c
index 7bd5510d5f..3a83311d45 100644
--- a/src/tmpfiles.c
+++ b/src/tmpfiles.c
@@ -258,12 +258,12 @@ int main(int argc, char *argv[]) {
label_init();
- if ((n = scandir("/etc/tempfiles.d/", &de, scandir_filter, alphasort)) < 0) {
+ if ((n = scandir("/etc/tmpfiles.d/", &de, scandir_filter, alphasort)) < 0) {
if (errno == ENOENT)
r = EXIT_SUCCESS;
else
- log_error("Failed to enumerate /etc/tempfiles.d/ files: %m");
+ log_error("Failed to enumerate /etc/tmpfiles.d/ files: %m");
goto finish;
}
@@ -276,7 +276,7 @@ int main(int argc, char *argv[]) {
FILE *f;
unsigned j;
- k = asprintf(&fn, "/etc/tempfiles.d/%s", de[i]->d_name);
+ k = asprintf(&fn, "/etc/tmpfiles.d/%s", de[i]->d_name);
free(de[i]);
if (k < 0) {