Changeset 46577995 in mainline for uspace/lib/c/generic/str_error.c
- Timestamp:
- 2018-01-04T20:50:52Z (8 years ago)
- Children:
- e211ea04
- Parents:
- facacc71
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:47:53)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:50:52)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/str_error.c
rfacacc71 r46577995 96 96 } 97 97 98 snprintf(noerr, NOERR_LEN, "(%d)", (int) e);98 snprintf(noerr, NOERR_LEN, "(%d)", (int)(case_errno_t) e); 99 99 return noerr; 100 100 } … … 108 108 } 109 109 110 snprintf(noerr, NOERR_LEN, "Unknown error code (%d)", (int) e);110 snprintf(noerr, NOERR_LEN, "Unknown error code (%d)", (int)(case_errno_t) e); 111 111 return noerr; 112 112 }
Note:
See TracChangeset
for help on using the changeset viewer.