From dc461cade5becec21f8d1f2bb74fcf1a977a5ec2 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 20 Jun 2011 12:09:06 +0200 Subject: s3: Fix the build, NAME_MAX not universally available Autobuild-User: Volker Lendecke Autobuild-Date: Mon Jun 20 13:45:21 CEST 2011 on sn-devel-104 --- source3/modules/vfs_shadow_copy2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/modules/vfs_shadow_copy2.c') 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) { -- cgit