minor output change

This commit is contained in:
roel@libnfc.org 2012-12-07 09:51:22 +00:00
parent af65f5f71d
commit 1282b0e691

View file

@ -70,7 +70,7 @@ static void *uart_receiver(void *targ) {
rxlen = sizeof(UsbCommand);
if (uart_receive(sp,rx,&rxlen)) {
if ((rxlen % sizeof(UsbCommand)) != 0) {
PrintAndLog("ERROR: received %zd bytes, which does not seem to be one or more command(s)\n",rxlen);
PrintAndLog("ERROR: received %03zd bytes, which does not seem to be one or more command(s)\n",rxlen );
continue;
}
cmd_count = rxlen / sizeof(UsbCommand);