diff options
author | Franck Bui <fbui@suse.com> | 2017-06-27 09:52:12 +0200 |
---|---|---|
committer | Franck Bui <fbui@suse.com> | 2017-06-27 10:04:20 +0200 |
commit | b9088048b15cd21242b2308498fa865f864bfe45 (patch) | |
tree | 87ecb02b4142b1297e6f94c5d92723058e202855 /src/shared/fstab-util.h | |
parent | swap: make use of IN_SET() (diff) | |
download | systemd-b9088048b15cd21242b2308498fa865f864bfe45.tar.xz systemd-b9088048b15cd21242b2308498fa865f864bfe45.zip |
fstab-util: don't eat up errors in fstab_is_mount_point()
That way the caller can decide what to do with failures, whether to consider
them or ignore them.
Diffstat (limited to 'src/shared/fstab-util.h')
-rw-r--r-- | src/shared/fstab-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/fstab-util.h b/src/shared/fstab-util.h index 679f6902f7..bae8c0a894 100644 --- a/src/shared/fstab-util.h +++ b/src/shared/fstab-util.h @@ -24,7 +24,7 @@ #include "macro.h" -bool fstab_is_mount_point(const char *mount); +int fstab_is_mount_point(const char *mount); int fstab_filter_options(const char *opts, const char *names, const char **namefound, char **value, char **filtered); |