diff --git a/src/misc/mktemp.c b/src/misc/mktemp.c index 76c89c7b4..2fe4871f6 100644 --- a/src/misc/mktemp.c +++ b/src/misc/mktemp.c @@ -27,7 +27,7 @@ smktemp(char *id) id = "sp"; const char* const home = getenv("HOME"); if (home) { - return tprintf("%s/"TEMPFORMAT, home, id, getpid()); + return tprintf("%s"TEMPFORMAT, home, id, getpid()); } const char* const usr = getenv("USERPROFILE"); if (usr) {