mirror of
https://github.com/encounter/SDL.git
synced 2025-12-14 15:46:14 +00:00
use SDL's functions version inplace of libc version
This commit is contained in:
@@ -51,7 +51,7 @@ open_power_file(const char *base, const char *node, const char *key)
|
||||
return -1; /* oh well. */
|
||||
}
|
||||
|
||||
snprintf(path, pathlen, "%s/%s/%s", base, node, key);
|
||||
SDL_snprintf(path, pathlen, "%s/%s/%s", base, node, key);
|
||||
fd = open(path, O_RDONLY | O_CLOEXEC);
|
||||
SDL_stack_free(path);
|
||||
return fd;
|
||||
|
||||
Reference in New Issue
Block a user