summaryrefslogtreecommitdiffstats
path: root/src/shared/fstab-util.h
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2017-06-27 09:52:12 +0200
committerFranck Bui <fbui@suse.com>2017-06-27 10:04:20 +0200
commitb9088048b15cd21242b2308498fa865f864bfe45 (patch)
tree87ecb02b4142b1297e6f94c5d92723058e202855 /src/shared/fstab-util.h
parentswap: make use of IN_SET() (diff)
downloadsystemd-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.h2
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);