summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--src/fstab-generator/fstab-generator.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/TODO b/TODO
index 646fad885a..f218d182c3 100644
--- a/TODO
+++ b/TODO
@@ -59,8 +59,6 @@ Features:
* introduce timers.target and paths.target and automatucally order all
timers and paths before it and after sysinit.target.
-* x-initrd-rootfs.mount in fstab-generator needs to go or get a saner name
-
* matching against units is currently broken in journalctl. We really
need another AND level in the expressions,
i.e. sd_journal_add_conjunction().
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c
index cf85d3189a..d5f9db49ca 100644
--- a/src/fstab-generator/fstab-generator.c
+++ b/src/fstab-generator/fstab-generator.c
@@ -202,7 +202,7 @@ static bool mount_in_initrd(struct mntent *me) {
static bool mount_is_rootfs(struct mntent *me) {
assert(me);
- return hasmntopt(me, "x-initrd-rootfs.mount");
+ return hasmntopt(me, "x-initrd.rootfs");
}
static int add_mount(const char *what, const char *where, const char *type, const char *opts,