mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2026-02-28 20:54:38 +00:00
GCC warned that the output string would not be nul-terminated if the input string was too long. Fix this by subtracting 1 from the size argument, as is done for other `strncpy` calls in the file. (It would probably be better to avoid `strncpy` entirely, but this is just a simple fix.)