aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount/mntopts.h
diff options
context:
space:
mode:
authorJaakko Heinonen <jh@FreeBSD.org>2012-01-16 19:34:21 +0000
committerJaakko Heinonen <jh@FreeBSD.org>2012-01-16 19:34:21 +0000
commitd3250014386b2eae2bf27edcde24d97f7bbfcfc5 (patch)
tree54d0a2f2ed01c217587bf7b24aec11a7fbcadd97 /sbin/mount/mntopts.h
parent03c142e76290016711675793c65fe924a3d1b779 (diff)
downloadsrc-d3250014386b2eae2bf27edcde24d97f7bbfcfc5.tar.gz
src-d3250014386b2eae2bf27edcde24d97f7bbfcfc5.zip
Change checkpath() to not exit on error. This is a prerequisite for
fixing the mount(8) "failok" option. PR: 163668 Reviewed by: Garrett Cooper, delphij (previous version)
Notes
Notes: svn path=/head/; revision=230226
Diffstat (limited to 'sbin/mount/mntopts.h')
-rw-r--r--sbin/mount/mntopts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount/mntopts.h b/sbin/mount/mntopts.h
index 2903d553f4ef..86a350fcab50 100644
--- a/sbin/mount/mntopts.h
+++ b/sbin/mount/mntopts.h
@@ -93,7 +93,7 @@ struct mntopt {
void getmntopts(const char *, const struct mntopt *, int *, int *);
void rmslashes(char *, char *);
-void checkpath(const char *, char resolved_path[]);
+int checkpath(const char *, char resolved_path[]);
extern int getmnt_silent;
void build_iovec(struct iovec **iov, int *iovlen, const char *name, void *val, size_t len);
void build_iovec_argf(struct iovec **iov, int *iovlen, const char *name, const char *fmt, ...);