X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fswap.c;h=d2f949118b78000311e753d4fde51fc0056a8d5c;hb=2b93b027d3a68b5d7ae26d0c2cd487eb5019d2a9;hp=fea3f6887a882977b5fba6c58cfcd4fb3c7227e8;hpb=f2b6878955b1f77ea1fa87b502b13d5dbefc57f6;p=elogind.git diff --git a/src/core/swap.c b/src/core/swap.c index fea3f6887..d2f949118 100644 --- a/src/core/swap.c +++ b/src/core/swap.c @@ -211,9 +211,9 @@ static int swap_add_device_links(Swap *s) { UNIT(s)->manager->running_as == MANAGER_SYSTEM); else /* File based swap devices need to be ordered after - * remount-rootfs.service, since they might need a + * systemd-remount-fs.service, since they might need a * writable file system. */ - return unit_add_dependency_by_name(UNIT(s), UNIT_AFTER, SPECIAL_REMOUNT_ROOTFS_SERVICE, NULL, true); + return unit_add_dependency_by_name(UNIT(s), UNIT_AFTER, SPECIAL_REMOUNT_FS_SERVICE, NULL, true); } static int swap_add_default_dependencies(Swap *s) {