summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index 8296a90fa1..ceb9ae7633 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -638,7 +638,7 @@ typedef struct
int snum;
} dir_cache_entry;
-static ubi_dlList dir_cache[1] = { { NULL, NULL, 0 } };
+static ubi_dlNewList( dir_cache );
void DirCacheAdd( char *path, char *name, char *dname, int snum )
/* ------------------------------------------------------------------------ **