Ignore:
File:
1 edited

Legend:

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

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