summaryrefslogtreecommitdiff
path: root/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix.c b/unix.c
index 8c39ceb48..529c57d9e 100644
--- a/unix.c
+++ b/unix.c
@@ -334,7 +334,7 @@ void FiosDelete(const char *name)
{
char path[512];
- FiosMakeSavegameName(path, name);
+ snprintf(path, lengthof(path), "%s/%s", _fios_path, name);
unlink(path);
}