From 2c490063da766c47367b9af2abb68405bf115e0d Mon Sep 17 00:00:00 2001 From: 4m4rOk Date: Fri, 6 Apr 2018 22:53:37 +0200 Subject: [PATCH] Fixed undeclared identifier Building the client fails because the identifier "ERROR" is undeclared. Changing it to "ERR" fixes this. --- client/proxmark3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/proxmark3.c b/client/proxmark3.c index 40ab91ab3..a8d273710 100644 --- a/client/proxmark3.c +++ b/client/proxmark3.c @@ -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); -} \ No newline at end of file +}