Skip to content

Commit

Permalink
- typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ognian committed Dec 11, 2023
1 parent e3aa252 commit 04e39e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ int main(int argc, const char *argv[]) {
ret = CMD56_data_in(fd, cmd56_arg, data_in);
// we assume success when the call was successful AND the signature is not 0xff 0xff
if (ret == 0 && !((data_in[0] == 0xff && data_in[1] == 0xff) || (data_in[0] == 0x00 && data_in[1] == 0x00))) {
printf("\" signature \":\" 0x % x 0x % x\",\n", data_in[0], data_in[1]);
printf("\" signature \":\"0x%x 0x%x\",\n", data_in[0], data_in[1]);
if (data_in[0] == 0x4d && data_in[1] == 0x45) {
printf("\"Micron\":\"true\",\n");
printf("\"Percentange step utilization\": %d,\n", (int)(data_in[7]));
Expand Down

0 comments on commit 04e39e7

Please sign in to comment.