diff --git a/src/filesystem/posix/SDL_sysfsops.c b/src/filesystem/posix/SDL_sysfsops.c index 463bbb5689..db197ed05a 100644 --- a/src/filesystem/posix/SDL_sysfsops.c +++ b/src/filesystem/posix/SDL_sysfsops.c @@ -74,7 +74,7 @@ bool SDL_SYS_RemovePath(const char *path) bool SDL_SYS_RenamePath(const char *oldpath, const char *newpath) { if (rename(oldpath, newpath) < 0) { - return SDL_SetError("Can't remove path: %s", strerror(errno)); + return SDL_SetError("Can't rename path: %s", strerror(errno)); } return true; }