]> git.zerfleddert.de Git - hmcfgusb/commitdiff
flash-hmmoduart: show error-status as hex
authorMichael Gernoth <michael@gernoth.net>
Thu, 9 Jun 2016 07:59:40 +0000 (09:59 +0200)
committerMichael Gernoth <michael@gernoth.net>
Thu, 9 Jun 2016 07:59:40 +0000 (09:59 +0200)
flash-hmmoduart.c

index 9f2f29aa354ca445086d722c871d0c643992f1be..fed022bc1effbdd2a3b21d84acd60a1b64467dac 100644 (file)
@@ -177,7 +177,7 @@ int main(int argc, char **argv)
                } while (pfd < 0);
 
                if (rdata.ack != 0x0401) {
-                       fprintf(stderr, "\n\nError flashing block %d, status: %u\n", block, rdata.ack);
+                       fprintf(stderr, "\n\nError flashing block %d, status: %04x\n", block, rdata.ack);
                        exit(EXIT_FAILURE);
                }
 
Impressum, Datenschutz