diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-05-22 02:00:53 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-05-22 02:00:53 +0200 |
commit | 92a39ae1989a7583d696afd4c89990aea802e9ea (patch) | |
tree | 80496b9d8bb5c9de5ec0378673a6f85ccbf945d3 /src/core | |
parent | 2e9d6c1251abc0af9aa5bc53610bd522d55be776 (diff) |
mount: use the same fstab extension option syntax everywhere
The man page and the actual code differed, and this is now corrected
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/mount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/mount.c b/src/core/mount.c index 0c62e8835a..b597e9bfe2 100644 --- a/src/core/mount.c +++ b/src/core/mount.c @@ -358,7 +358,7 @@ static int mount_add_fstab_links(Mount *m) { nofail = !!mount_test_option(p->options, "nofail"); automount = mount_test_option(p->options, "comment=systemd.automount") || - mount_test_option(p->options, "x-systemd-automount"); + mount_test_option(p->options, "x-systemd.automount"); if (mount_is_network(p)) { target = SPECIAL_REMOTE_FS_TARGET; @@ -515,7 +515,7 @@ static int mount_fix_timeouts(Mount *m) { if ((timeout = mount_test_option(p->options, "comment=systemd.device-timeout"))) timeout += 31; - else if ((timeout = mount_test_option(p->options, "x-systemd-device-timeout"))) + else if ((timeout = mount_test_option(p->options, "x-systemd.device-timeout"))) timeout += 25; else return 0; |