Fixed undeclared identifier
Building the client fails because the identifier "ERROR" is undeclared. Changing it to "ERR" fixes this.
This commit is contained in:
@@ -255,7 +255,7 @@ main_loop(char *script_cmds_file, char *script_cmd, bool usb_present) {
|
||||
memset(script_cmd_buf, 0, sizeof(script_cmd_buf));
|
||||
// get
|
||||
if (!fgets(script_cmd_buf, sizeof(script_cmd_buf), stdin)) {
|
||||
PrintAndLogEx(ERROR, "STDIN unexpected end, exit...");
|
||||
PrintAndLogEx(ERR, "STDIN unexpected end, exit...");
|
||||
break;
|
||||
}
|
||||
// remove linebreaks
|
||||
@@ -530,4 +530,4 @@ int main(int argc, char* argv[]) {
|
||||
pthread_mutex_destroy(&print_lock);
|
||||
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user