Skip to content

Commit

Permalink
Change error message in info builtin
Browse files Browse the repository at this point in the history
Signed-off-by: glafond- <[email protected]>
  • Loading branch information
xlmod committed Dec 19, 2022
1 parent bed61f7 commit 8ea80b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/nsh/builtins/info.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ int info(int argc, char **argv) {
char *ptr;
int order = strtol(argv[2], &ptr, 0);
if (*ptr || order < 0 || order >= KPM_NORDERS) {
kprintf(BLTNAME ": order number wrong.\n");
kprintf(BLTNAME ": order number not formatted correctly\n");
return -1;
}
info_buddy(order);
Expand Down

0 comments on commit 8ea80b4

Please sign in to comment.