mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-07 16:48:15 +08:00
PrintAndLogEx: use const on char *fmt
This commit is contained in:
parent
8c4f8eaeca
commit
2ebf940bf0
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ void PrintAndLogOptions(char *str[][2], size_t size, size_t space) {
|
|||
}
|
||||
PrintAndLogEx(NORMAL, "%s", buff);
|
||||
}
|
||||
void PrintAndLogEx(logLevel_t level, char *fmt, ...) {
|
||||
void PrintAndLogEx(logLevel_t level, const char *fmt, ...) {
|
||||
|
||||
// skip debug messages if client debugging is turned off i.e. 'DATA SETDEBUG 0'
|
||||
if (g_debugMode == 0 && level == DEBUG)
|
||||
|
|
|
@ -35,7 +35,7 @@ void ShowGraphWindow(void);
|
|||
void RepaintGraphWindow(void);
|
||||
void PrintAndLog(char *fmt, ...);
|
||||
void PrintAndLogOptions(char *str[][2], size_t size, size_t space);
|
||||
void PrintAndLogEx(logLevel_t level, char *fmt, ...);
|
||||
void PrintAndLogEx(logLevel_t level, const char *fmt, ...);
|
||||
void SetLogFilename(char *fn);
|
||||
void SetFlushAfterWrite(bool value);
|
||||
|
||||
|
|
Loading…
Reference in a new issue