summaryrefslogtreecommitdiff
path: root/unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-02-14 01:01:10 +0100
committerLennart Poettering <lennart@poettering.net>2010-02-14 01:01:10 +0100
commit6be1e7d538e12f4e5c79c1271dba90e66726d8fd (patch)
treea32725c522b5ce99a95fd9ce67c771fa50088840 /unit.c
parent380bc8790dd284bbf967add222fa90d117ed50ea (diff)
unit: rename load_path to fragment_path to make clear what kind of configuration file this is
Diffstat (limited to 'unit.c')
-rw-r--r--unit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unit.c b/unit.c
index b8a1d8bb33..980c3711eb 100644
--- a/unit.c
+++ b/unit.c
@@ -284,7 +284,7 @@ void unit_free(Unit *u) {
bidi_set_free(u, u->meta.dependencies[d]);
free(u->meta.description);
- free(u->meta.load_path);
+ free(u->meta.fragment_path);
while ((t = set_steal_first(u->meta.names)))
free(t);
@@ -397,8 +397,8 @@ void unit_dump(Unit *u, FILE *f, const char *prefix) {
prefix, yes_no(u->meta.recursive_stop),
prefix, yes_no(u->meta.stop_when_unneeded));
- if (u->meta.load_path)
- fprintf(f, "%s\tLoad Path: %s\n", prefix, u->meta.load_path);
+ if (u->meta.fragment_path)
+ fprintf(f, "%s\tFragment Path: %s\n", prefix, u->meta.fragment_path);
SET_FOREACH(t, u->meta.names, i)
fprintf(f, "%s\tName: %s\n", prefix, t);