diff options
author | Volker Lendecke <vl@samba.org> | 2011-06-20 12:09:06 +0200 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-06-20 13:45:21 +0200 |
commit | dc461cade5becec21f8d1f2bb74fcf1a977a5ec2 (patch) | |
tree | efb0399e09076aaad51510bbfb87c3cc7f288be4 /source3/modules | |
parent | f0ff6f390a14b0da8466096c0886f5c4860b977f (diff) | |
download | samba-dc461cade5becec21f8d1f2bb74fcf1a977a5ec2.tar.gz samba-dc461cade5becec21f8d1f2bb74fcf1a977a5ec2.tar.bz2 samba-dc461cade5becec21f8d1f2bb74fcf1a977a5ec2.zip |
s3: Fix the build, NAME_MAX not universally available
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Jun 20 13:45:21 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_shadow_copy2.c | 2 |
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) { |