Changeset fa36f29 in mainline for uspace/app/sbi/src/input.c
- Timestamp:
- 2010-02-27T17:59:14Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 94d484a
- Parents:
- 09ababb7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/input.c
r09ababb7 rfa36f29 64 64 65 65 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 } 68 70 69 71 input->line_no = 0;
Note:
See TracChangeset
for help on using the changeset viewer.