[systemd-commits] src/mount.c
Lennart Poettering
lennart at kemper.freedesktop.org
Mon Feb 21 04:32:25 PST 2011
src/mount.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 50483512b901aa216bc12bbe12dc99c1963d79fb
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 21 13:32:18 2011 +0100
mount: make sure network mounts are ordered after network.target
diff --git a/src/mount.c b/src/mount.c
index 102d88b..88b54bb 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -306,7 +306,7 @@ static int mount_add_target_links(Mount *m) {
return r;
if (after)
- if ((r = unit_add_dependency_by_name(tu, UNIT_AFTER, after, NULL, true)) < 0)
+ if ((r = unit_add_dependency_by_name(UNIT(m), UNIT_AFTER, after, NULL, true)) < 0)
return r;
if (automount && m->meta.manager->running_as == MANAGER_SYSTEM) {
More information about the systemd-commits
mailing list