mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
Lighter msg for loading prefs, json will anyway always tell the filename
This commit is contained in:
parent
a15d14e038
commit
ae21a3148f
1 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ int preferences_load(void) {
|
|||
|
||||
// to better control json cant find file error msg.
|
||||
if (fileExists(prefGetFilename())) {
|
||||
PrintAndLogEx(INFO, "Loading Preferences %s",prefGetFilename());
|
||||
PrintAndLogEx(INFO, "Loading Preferences...");
|
||||
if (loadFileJSON(prefGetFilename(), &dummyData, sizeof(dummyData), &dummyDL) == PM3_SUCCESS) {
|
||||
session.preferences_loaded = true;
|
||||
}
|
||||
|
@ -114,7 +114,7 @@ int preferences_save(void) {
|
|||
char *backupFilename = NULL;// [FILENAME_MAX+sizeof(preferencesFilename)+10] = {0};
|
||||
int fnLen = 0;
|
||||
|
||||
PrintAndLogEx(INFO, "Saving preferences ...");
|
||||
PrintAndLogEx(INFO, "Saving Preferences...");
|
||||
|
||||
fnLen = strlen(prefGetFilename()) + 5; // .bak\0
|
||||
backupFilename = (char *)calloc(fnLen, sizeof(uint8_t));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue