Skip to content

Commit a10578a

Browse files
Sackzementslouken
authored andcommitted
SDL_SYS_RenamePath(): Fix error message.
1 parent 3922bce commit a10578a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/filesystem/posix/SDL_sysfsops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ bool SDL_SYS_RemovePath(const char *path)
7474
bool SDL_SYS_RenamePath(const char *oldpath, const char *newpath)
7575
{
7676
if (rename(oldpath, newpath) < 0) {
77-
return SDL_SetError("Can't remove path: %s", strerror(errno));
77+
return SDL_SetError("Can't rename path: %s", strerror(errno));
7878
}
7979
return true;
8080
}

0 commit comments

Comments
 (0)