Changeset 1abcf1d in mainline for uspace/app/bdsh


Ignore:
Timestamp:
2018-04-10T19:43:21Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a69d42e
Parents:
9fa14d8d
Message:

puts() should append newline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/cat/cat.c

    r9fa14d8d r1abcf1d  
    353353                case 'H':
    354354                        if (!optarg || str_uint64_t(optarg, NULL, 10, false, &head) != EOK) {
    355                                 puts("Invalid head size\n");
     355                                puts("Invalid head size");
    356356                                return CMD_FAILURE;
    357357                        }
     
    359359                case 't':
    360360                        if (!optarg || str_uint64_t(optarg, NULL, 10, false, &tail) != EOK) {
    361                                 puts("Invalid tail size\n");
     361                                puts("Invalid tail size");
    362362                                return CMD_FAILURE;
    363363                        }
     
    367367                case 'b':
    368368                        if (!optarg || str_size_t(optarg, NULL, 10, false, &buffer) != EOK) {
    369                                 puts("Invalid buffer size\n");
     369                                puts("Invalid buffer size");
    370370                                return CMD_FAILURE;
    371371                        }
Note: See TracChangeset for help on using the changeset viewer.