Changes in kernel/generic/src/console/cmd.c [feeac0d:b2fa1204] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/cmd.c
rfeeac0d rb2fa1204 45 45 #include <console/kconsole.h> 46 46 #include <print.h> 47 #include <log.h> 47 48 #include <panic.h> 48 49 #include <typedefs.h> … … 639 640 for (i = 0; basic_commands[i]; i++) { 640 641 if (!cmd_register(basic_commands[i])) { 641 printf("Cannot register command %s\n", 642 log(LF_OTHER, LVL_ERROR, 643 "Cannot register command %s", 642 644 basic_commands[i]->name); 643 645 } … … 665 667 unsigned int _len = (unsigned int) len; 666 668 if ((_len != len) || (((int) _len) < 0)) { 667 printf("Command length overflow\n");669 log(LF_OTHER, LVL_ERROR, "Command length overflow"); 668 670 return 1; 669 671 }
Note:
See TracChangeset
for help on using the changeset viewer.