Browse Source

SDL_SYS_RenamePath(): Fix error message.

Petar Popovic 5 months ago
parent
commit
a10578acbd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/filesystem/posix/SDL_sysfsops.c

+ 1 - 1
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;
 }