summaryrefslogtreecommitdiff
path: root/source4/lib/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/module.c')
-rw-r--r--source4/lib/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/module.c b/source4/lib/module.c
index d45f99473e..c6c4ef6979 100644
--- a/source4/lib/module.c
+++ b/source4/lib/module.c
@@ -44,7 +44,7 @@ NTSTATUS smb_load_module(const char *module_name)
* want to use wildcards here? */
if(S_ISDIR(st.st_mode)) {
dir = opendir(module_name);
- while(dirent = readdir(dir)) {
+ while ((dirent = readdir(dir))) {
smb_load_module(dirent->d_name);
}
}