diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-06-24 20:59:51 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-06-24 20:59:51 +0200 |
commit | e34e72fb18b6a14c43c71db34dc4fd983383a71a (patch) | |
tree | cab5c46d2a8a9a581bf29b168a2dc1b08eff976b /src | |
parent | d946fb596f7ed010dce6685a499e0aebef00e451 (diff) |
fstab-generator: let's use path_equal() for comparing paths
Diffstat (limited to 'src')
-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 880dc1bd2a..daf50706c7 100644 --- a/src/fstab-generator/fstab-generator.c +++ b/src/fstab-generator/fstab-generator.c @@ -502,7 +502,7 @@ static int add_sysroot_mount(void) { return 0; } - if (streq(arg_root_what, "/dev/nfs")) { + if (path_equal(arg_root_what, "/dev/nfs")) { /* This is handled by the kernel or the initrd */ log_debug("Skipping root directory handling, as /dev/nfs was requested."); return 0; |