summaryrefslogtreecommitdiff
path: root/usr/src/lib/libtsol/common/getpathbylabel.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libtsol/common/getpathbylabel.c')
-rw-r--r--usr/src/lib/libtsol/common/getpathbylabel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/libtsol/common/getpathbylabel.c b/usr/src/lib/libtsol/common/getpathbylabel.c
index 0f8c5597d0..cb7f489738 100644
--- a/usr/src/lib/libtsol/common/getpathbylabel.c
+++ b/usr/src/lib/libtsol/common/getpathbylabel.c
@@ -173,7 +173,7 @@ tsol_mkmntlist(void)
struct mntlist *mntst = NULL;
struct mnttab mnt;
- if ((mounted = fopen(MNTTAB, "r")) == NULL) {
+ if ((mounted = fopen(MNTTAB, "rF")) == NULL) {
perror(MNTTAB);
return (NULL);
}