Changeset 11527051 in mainline


Ignore:
Timestamp:
2012-12-02T16:42:21Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
26a8c18d
Parents:
0fa34dd
Message:

Do nothing on KLOG_COMMAND if stdin is not defined.

File:
1 edited

Legend:

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

    r0fa34dd r11527051  
    372372                        break;
    373373                case KLOG_COMMAND:
     374                        if (!stdin)
     375                                break;
    374376                        for (unsigned int i = 0; i < size; i++)
    375377                                indev_push_character(stdin, data[i]);
Note: See TracChangeset for help on using the changeset viewer.