Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/kconsole.c

    r0f06dbc r98000fb  
    289289                       
    290290                        char tmp[STR_BOUNDS(MAX_CMDLINE)];
    291                         wstr_to_str(tmp, position - beg + 1, current + beg);
     291                        wstr_nstr(tmp, current + beg, position - beg + 1);
    292292                       
    293293                        int found;
     
    665665               
    666666                char cmdline[STR_BOUNDS(MAX_CMDLINE)];
    667                 wstr_to_str(cmdline, STR_BOUNDS(MAX_CMDLINE), tmp);
     667                wstr_nstr(cmdline, tmp, STR_BOUNDS(MAX_CMDLINE));
    668668               
    669669                if ((!kcon) && (len == 4) && (str_lcmp(cmdline, "exit", 4) == 0))
Note: See TracChangeset for help on using the changeset viewer.