summaryrefslogtreecommitdiff
path: root/src/core/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-01-15 21:45:37 +0100
committerLennart Poettering <lennart@poettering.net>2013-01-15 21:45:37 +0100
commitcd7409576d36baeb4ccc93471d3bd9d72a436d59 (patch)
treeac7e2ac01faffeb13ea0a4f7e24ab27520298939 /src/core/load-fragment.c
parent858c33bf6002bcdbea185ddedde8f8d660afc731 (diff)
load-fragment: fix bad memory access
Diffstat (limited to 'src/core/load-fragment.c')
-rw-r--r--src/core/load-fragment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index d9f01a2fb6..7b1e664511 100644
--- a/src/core/load-fragment.c
+++ b/src/core/load-fragment.c
@@ -1296,7 +1296,7 @@ int config_parse_path_unit(
dbus_error_init(&error);
- p = unit_name_printf(u, rvalue);
+ p = unit_name_printf(UNIT(t), rvalue);
if (!p)
return log_oom();