diff options
Diffstat (limited to 'lib/libshare/os/linux/smb.c')
-rw-r--r-- | lib/libshare/os/linux/smb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libshare/os/linux/smb.c b/lib/libshare/os/linux/smb.c index 3dcf666eb..45811ff26 100644 --- a/lib/libshare/os/linux/smb.c +++ b/lib/libshare/os/linux/smb.c @@ -107,7 +107,7 @@ smb_retrieve_shares(void) if (!S_ISREG(eStat.st_mode)) continue; - if ((share_file_fp = fopen(file_path, "r")) == NULL) { + if ((share_file_fp = fopen(file_path, "re")) == NULL) { rc = SA_SYSTEM_ERR; goto out; } |