Skip to content

Commit

Permalink
Status shows serial as unsigned (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
qpernil authored Jan 28, 2025
1 parent 68b7c7b commit ab53895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/yubico-piv-tool.c
Original file line number Diff line number Diff line change
Expand Up @@ -1931,7 +1931,7 @@ static bool status(ykpiv_state *state, enum enum_hash hash,
if (ykpiv_get_serial(state, &serial) != YKPIV_OK) {
fprintf(output_file, "No data available\n");
} else {
fprintf(output_file, "%d\n", serial);
fprintf(output_file, "%u\n", serial);
}

fprintf(output_file, "CHUID:\t");
Expand Down

0 comments on commit ab53895

Please sign in to comment.