Changeset 84a1a54 in mainline for uspace/app/mkbd/main.c
- Timestamp:
- 2018-01-04T20:47:53Z (6 years ago)
- Children:
- facacc71
- Parents:
- cde999a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkbd/main.c
rcde999a r84a1a54 222 222 printf("Device not found or not of USB kind: %s.\n", 223 223 str_error(rc)); 224 return rc;224 return EXIT_RC(rc); 225 225 } 226 226 … … 229 229 printf(NAME ": failed to connect to the device (handle %" 230 230 PRIun "): %s.\n", dev_handle, str_error(errno)); 231 return errno;231 return EXIT_RC(errno); 232 232 } 233 233 … … 239 239 printf(NAME ": failed to get path (handle %" 240 240 PRIun "): %s.\n", dev_handle, str_error(errno)); 241 return E NOMEM;241 return EXIT_RC(ENOMEM); 242 242 } 243 243 … … 250 250 printf("Failed to initialize report parser: %s\n", 251 251 str_error(rc)); 252 return rc;252 return EXIT_RC(rc); 253 253 } 254 254 … … 259 259 if (rc != EOK) { 260 260 printf("Failed to get event length: %s.\n", str_error(rc)); 261 return rc;261 return EXIT_RC(rc); 262 262 } 263 263 … … 266 266 printf("Out of memory.\n"); 267 267 // TODO: hangup phone? 268 return E NOMEM;268 return EXIT_RC(ENOMEM); 269 269 } 270 270
Note:
See TracChangeset
for help on using the changeset viewer.