summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--uemis-downloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uemis-downloader.c b/uemis-downloader.c
index be9a3c425..c1980de4c 100644
--- a/uemis-downloader.c
+++ b/uemis-downloader.c
@@ -180,7 +180,7 @@ static char *build_filename(const char *path, const char *name)
int len = strlen(path) + strlen(name) + 2;
char *buf = malloc(len);
#if WIN32
- snprintf(buf, len, "%s\%s", path, name);
+ snprintf(buf, len, "%s\\%s", path, name);
#else
snprintf(buf, len, "%s/%s", path, name);
#endif