Changeset fa36f29 in mainline for uspace/app/sbi/src/input.c


Ignore:
Timestamp:
2010-02-27T17:59:14Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
94d484a
Parents:
09ababb7
Message:

Update SBI to rev. 75.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/input.c

    r09ababb7 rfa36f29  
    6464
    6565        input->buffer = malloc(INPUT_BUFFER_SIZE);
    66         if (input->buffer == NULL)
    67                 return ENOMEM;
     66        if (input->buffer == NULL) {
     67                printf("Memory allocation failed.\n");
     68                exit(1);
     69        }
    6870
    6971        input->line_no = 0;
Note: See TracChangeset for help on using the changeset viewer.