Changeset c1694b6b in mainline for uspace/app/mkbd/main.c
- Timestamp:
- 2017-12-08T21:03:35Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f77c1c9
- Parents:
- 9eb1ff5
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-07 18:20:13)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 21:03:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkbd/main.c
r9eb1ff5 rc1694b6b 237 237 rc = devman_fun_get_path(dev_handle, path, MAX_PATH_LENGTH); 238 238 if (rc != EOK) { 239 printf(NAME ": failed to get path (handle %" 240 PRIun "): %s.\n", dev_handle, str_error(errno)); 239 241 return ENOMEM; 240 242 } … … 262 264 uint8_t *event = (uint8_t *)malloc(size); 263 265 if (event == NULL) { 266 printf("Out of memory.\n"); 264 267 // TODO: hangup phone? 265 268 return ENOMEM;
Note:
See TracChangeset
for help on using the changeset viewer.