Changeset 6ed8b3a in mainline for generic/src/console/kconsole.c


Ignore:
Timestamp:
2005-12-12T18:40:28Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0bd4f56d
Parents:
fbe058f
Message:

Fix kconsole so that side-effect command shortcuts do not take effect.

File:
1 edited

Legend:

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

    rfbe058f r6ed8b3a  
    489489                spinlock_lock(&hlp->lock);
    490490               
    491                 if (strncmp(hlp->name, &cmdline[start], (end - start) + 1) == 0) {
     491                if (strncmp(hlp->name, &cmdline[start], strlen(hlp->name)) == 0) {
    492492                        cmd = hlp;
    493493                        break;
Note: See TracChangeset for help on using the changeset viewer.