summaryrefslogtreecommitdiffstats
path: root/lib/libspl/getmntany.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libspl/getmntany.c')
-rw-r--r--lib/libspl/getmntany.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libspl/getmntany.c b/lib/libspl/getmntany.c
index d78357af5..9e071c7ce 100644
--- a/lib/libspl/getmntany.c
+++ b/lib/libspl/getmntany.c
@@ -53,7 +53,7 @@ getmntany(FILE *fp, struct mnttab *mgetp, struct mnttab *mrefp)
while (
((ret = _sol_getmntent(fp, mgetp)) == 0) && (
DIFF(mnt_special) || DIFF(mnt_mountp) ||
- DIFF(mnt_fstype) || DIFF(mnt_mntopts)));
+ DIFF(mnt_fstype) || DIFF(mnt_mntopts))) { }
return (ret);
}
@@ -86,7 +86,7 @@ getextmntent(FILE *fp, struct extmnttab *mp, int len)
int ret;
struct stat64 st;
- ret = _sol_getmntent(fp, (struct mnttab *) mp);
+ ret = _sol_getmntent(fp, (struct mnttab *)mp);
if (ret == 0) {
if (stat64(mp->mnt_mountp, &st) != 0) {
mp->mnt_major = 0;