diff options
Diffstat (limited to 'test/format/t.c')
-rw-r--r-- | test/format/t.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/format/t.c b/test/format/t.c index 37ba982c987..ccbc0442e4a 100644 --- a/test/format/t.c +++ b/test/format/t.c @@ -45,10 +45,14 @@ main(int argc, char *argv[]) config = NULL; +#ifdef _WIN32 + g.progname = "t_format.exe"; +#else if ((g.progname = strrchr(argv[0], DIR_DELIM)) == NULL) g.progname = argv[0]; else ++g.progname; +#endif #if 0 /* Configure the GNU malloc for debugging. */ |