diff options
Diffstat (limited to 'src/fstab-generator')
-rw-r--r-- | src/fstab-generator/fstab-generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |