summaryrefslogtreecommitdiff
path: root/source4/lib/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/util.c')
-rw-r--r--source4/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/util.c b/source4/lib/util.c
index 0dbc2a125d..6834cd53fc 100644
--- a/source4/lib/util.c
+++ b/source4/lib/util.c
@@ -89,7 +89,7 @@ time_t file_modtime(const char *fname)
Check if a directory exists.
********************************************************************/
-BOOL directory_exist(char *dname,SMB_STRUCT_STAT *st)
+BOOL directory_exist(const char *dname,SMB_STRUCT_STAT *st)
{
SMB_STRUCT_STAT st2;
BOOL ret;