mirror of
https://github.com/wiiu-env/libfat.git
synced 2024-11-25 19:36:52 +01:00
get rid of sprintf as per https://sourceforge.net/tracker/?func=detail&aid=3465300&group_id=114505&atid=668553
This commit is contained in:
parent
84dd3a491a
commit
250ced0be3
@ -82,7 +82,8 @@ bool fatMount (const char* name, const DISC_INTERFACE* interface, sec_t startSec
|
||||
return false;
|
||||
|
||||
char devname[10];
|
||||
sprintf(devname, "%s:", name);
|
||||
strcpy(devname, name);
|
||||
strcat(devname, ":");
|
||||
if(FindDevice(devname) >= 0)
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user