Changeset a7d8739 in mainline


Ignore:
Timestamp:
2012-11-12T00:44:51Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9b11a971
Parents:
e8a1530
Message:

kconsole: Be more verbose in reporting integer parsing errors.

File:
1 edited

Legend:

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

    re8a1530 ra7d8739  
    527527                switch (rc) {
    528528                case EINVAL:
    529                         printf("Invalid number.\n");
     529                        printf("Invalid number '%s'.\n", text);
    530530                        return false;
    531531                case EOVERFLOW:
    532                         printf("Integer overflow.\n");
     532                        printf("Integer overflow in '%s'.\n", text);
    533533                        return false;
    534534                case EOK:
     
    538538                        break;
    539539                default:
    540                         printf("Unknown error.\n");
     540                        printf("Unknown error parsing '%s'.\n", text);
    541541                        return false;
    542542                }
Note: See TracChangeset for help on using the changeset viewer.