Fix example.
This commit is contained in:
parent
adbba0342b
commit
9d8c991f50
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@
|
|||
uint8_t null_key_data[8] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
||||
uint8_t new_key_data[8] = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77 };
|
||||
|
||||
#define NEW_KEY_VERSION 0x34;
|
||||
#define NEW_KEY_VERSION 0x34
|
||||
|
||||
struct {
|
||||
bool interactive;
|
||||
|
@ -171,7 +171,7 @@ main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
if (version != NEW_KEY_VERSION) {
|
||||
fprintf (stderr, "Wrong key version: %02x (expected %02x).\n");
|
||||
fprintf (stderr, "Wrong key version: %02x (expected %02x).\n", version, NEW_KEY_VERSION);
|
||||
error = EXIT_FAILURE;
|
||||
/* continue */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue