Skip to content

Commit

Permalink
Fix small typo in error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
linguini1 committed Jun 4, 2024
1 parent 0ef6b65 commit 7081ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collectors/pac195x_clctr.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void *pac1952_2_collector(void *args) {
for (int i = 0; i < 2; i++) {
err = pac195x_get_vbusn(&loc, i + 1, &vbus[i]);
if (err != EOK) {
fprintf(stderr, "PAC195X could not read VBUS_%d: %s\n", i - 1, strerror(err));
fprintf(stderr, "PAC195X could not read VBUS_%u: %s\n", i + 1, strerror(err));
break;
}
}
Expand Down

0 comments on commit 7081ba2

Please sign in to comment.