summaryrefslogtreecommitdiff
path: root/test/recovery/truncated-log.c
diff options
context:
space:
mode:
authorDavid Hows <david.hows@mongodb.com>2017-01-23 16:05:51 +1100
committerDavid Hows <david.hows@mongodb.com>2017-01-23 16:06:16 +1100
commit48a3cbc17fa902528217287fd075c87efb44aebc (patch)
treefff4f814ab9fbd7f3eb4c45684f581a5da1c058c /test/recovery/truncated-log.c
parent8d2324943364286056ae399043f70b8a937de312 (diff)
parentbf8de9767982da9ae0f1542f3744c8aa8544fb82 (diff)
downloadmongo-48a3cbc17fa902528217287fd075c87efb44aebc.tar.gz
Merge branch 'develop' into mongodb-3.6mongodb-3.5.3mongodb-3.5.2
Diffstat (limited to 'test/recovery/truncated-log.c')
-rw-r--r--test/recovery/truncated-log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/recovery/truncated-log.c b/test/recovery/truncated-log.c
index c265263d44c..6a142b8e710 100644
--- a/test/recovery/truncated-log.c
+++ b/test/recovery/truncated-log.c
@@ -35,7 +35,7 @@
#define snprintf _snprintf
#endif
-static char home[512]; /* Program working dir */
+static char home[1024]; /* Program working dir */
static const char *progname; /* Program name */
static const char * const uri = "table:main";
@@ -290,7 +290,7 @@ main(int argc, char *argv[])
if (argc != 0)
usage();
- testutil_work_dir_from_path(home, 512, working_dir);
+ testutil_work_dir_from_path(home, sizeof(home), working_dir);
testutil_make_work_dir(home);
/*