summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_shadow_copy2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c
index 1ed828b746..ca33b6d344 100644
--- a/source3/modules/vfs_shadow_copy2.c
+++ b/source3/modules/vfs_shadow_copy2.c
@@ -144,7 +144,7 @@ static char *shadow_copy2_insert_string(TALLOC_CTX *mem_ctx,
time_t snapshot)
{
struct tm snap_tm;
- char gmt[NAME_MAX+1];
+ fstring gmt;
size_t gmt_len;
if (localtime_r(&snapshot, &snap_tm) == 0) {