Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/mod_cmds.c

    r582a0b8 r05b59393  
    9696                return (char *)NULL;
    9797
    98         for(i=0; mod_aliases[i] != NULL; i++) {
     98        for(i=0; mod_aliases[i] != NULL; i+=2) {
    9999                if (!str_cmp(mod_aliases[i], command))
    100                         return (char *)mod_aliases[++i];
    101                 i++;
     100                        return (char *)mod_aliases[i+1];
    102101        }
    103102
Note: See TracChangeset for help on using the changeset viewer.