util.c: fix shadowed variable
This commit is contained in:
parent
5f450b558b
commit
280b7988a1
@ -204,12 +204,12 @@ const char *sstrerror(int err)
|
|||||||
/* set by the main code to point to where the test dir is */
|
/* set by the main code to point to where the test dir is */
|
||||||
const char *path = ".";
|
const char *path = ".";
|
||||||
|
|
||||||
FILE *test2fopen(long testno, const char *logdir)
|
FILE *test2fopen(long testno, const char *logdir2)
|
||||||
{
|
{
|
||||||
FILE *stream;
|
FILE *stream;
|
||||||
char filename[256];
|
char filename[256];
|
||||||
/* first try the alternative, preprocessed, file */
|
/* 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");
|
stream = fopen(filename, "rb");
|
||||||
if(stream)
|
if(stream)
|
||||||
return stream;
|
return stream;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user