浏览代码

SDL_SYS_RenamePath(): Fix error message.

Petar Popovic 1 年之前
父节点
当前提交
a10578acbd
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  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;
 }