Changes in kernel/generic/src/console/kconsole.c [feeac0d:a1ecb88] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/kconsole.c
rfeeac0d ra1ecb88 118 118 * Make sure the command is not already listed. 119 119 */ 120 list_foreach(cmd_list, link, cmd_info_t, hlp) { 120 list_foreach(cmd_list, cur) { 121 cmd_info_t *hlp = list_get_instance(cur, cmd_info_t, link); 122 121 123 if (hlp == cmd) { 122 124 /* The command is already there. */ … … 610 612 cmd_info_t *cmd = NULL; 611 613 612 list_foreach(cmd_list, link, cmd_info_t, hlp) { 614 list_foreach(cmd_list, cur) { 615 cmd_info_t *hlp = list_get_instance(cur, cmd_info_t, link); 613 616 spinlock_lock(&hlp->lock); 614 617
Note:
See TracChangeset
for help on using the changeset viewer.