mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-24 17:11:28 +08:00
getwd fix
This commit is contained in:
parent
acf4c09aa3
commit
fd5fe61462
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,7 @@ static int setCmdHelp(const char *Cmd);
|
|||
|
||||
// Load all settings into memory (struct)
|
||||
static char* prefGetFilename (void) {
|
||||
/*
|
||||
static char Buffer[FILENAME_MAX+sizeof(preferencesFilename)+2] = {0};
|
||||
char PATH[FILENAME_MAX] = {0};
|
||||
|
||||
|
@ -43,6 +44,8 @@ static char* prefGetFilename (void) {
|
|||
#endif
|
||||
|
||||
return Buffer;
|
||||
*/
|
||||
return preferencesFilename;
|
||||
}
|
||||
|
||||
int preferences_load (void) {
|
||||
|
|
Loading…
Reference in a new issue