X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/28fdb04fd8d62e46c36f959b373d662f1a146448..9e130475f9d8c727a5d99db54bc6d52b88a13e78:/client/flash.c diff --git a/client/flash.c b/client/flash.c index 4d091126..4af0dea8 100644 --- a/client/flash.c +++ b/client/flash.c @@ -11,6 +11,7 @@ #include #include #include +#include "proxmark3.h" #include "sleep.h" //#include "proxusb.h" #include "flash.h" @@ -296,7 +297,7 @@ static int get_proxmark_state(uint32_t *state) *state = resp.arg[0]; break; default: - fprintf(stderr, "Error: Couldn't get proxmark state, bad response type: 0x%04llx\n", resp.cmd); + fprintf(stderr, "Error: Couldn't get proxmark state, bad response type: 0x%04"llx"\n", resp.cmd); return -1; break; } @@ -358,7 +359,7 @@ static int wait_for_ack(void) UsbCommand ack; ReceiveCommand(&ack); if (ack.cmd != CMD_ACK) { - printf("Error: Unexpected reply 0x%04llx (expected ACK)\n", ack.cmd); + printf("Error: Unexpected reply 0x%04"llx" (expected ACK)\n", ack.cmd); return -1; } return 0;