diff --git a/tests/server/util.c b/tests/server/util.c index 62934233ca..923e19e573 100644 --- a/tests/server/util.c +++ b/tests/server/util.c @@ -204,12 +204,12 @@ const char *sstrerror(int err) /* set by the main code to point to where the test dir is */ const char *path = "."; -FILE *test2fopen(long testno, const char *logdir) +FILE *test2fopen(long testno, const char *logdir2) { FILE *stream; char filename[256]; /* first try the alternative, preprocessed, file */ - msnprintf(filename, sizeof(filename), ALTTEST_DATA_PATH, logdir, testno); + msnprintf(filename, sizeof(filename), ALTTEST_DATA_PATH, logdir2, testno); stream = fopen(filename, "rb"); if(stream) return stream;