diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-06-24 21:22:05 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-06-24 21:22:05 +0200 |
commit | 592288a2a78a3bd5b61b094f0512ce4806537b21 (patch) | |
tree | f3f05dd114a9ad2b944db9a9fd42493d2814b4a9 /src | |
parent | f113f8e382b8b53d586a507ef4c125009a4be33e (diff) |
fstab-generator: minor simplification
Diffstat (limited to 'src')
-rw-r--r-- | src/fstab-generator/fstab-generator.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c index f941643c70..5aeca7e2d5 100644 --- a/src/fstab-generator/fstab-generator.c +++ b/src/fstab-generator/fstab-generator.c @@ -417,8 +417,7 @@ static int parse_fstab(bool initrd) { if (errno == ENOENT) return 0; - log_error_errno(errno, "Failed to open %s: %m", fstab_path); - return -errno; + return log_error_errno(errno, "Failed to open %s: %m", fstab_path); } while ((me = getmntent(f))) { |