Changeset eb13ef8 in mainline for uspace/lib/c/generic/io/chardev.c
- Timestamp:
- 2019-02-06T13:25:12Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fafb8e5
- Parents:
- bb97118
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:04:02)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/io/chardev.c
rbb97118 reb13ef8 125 125 } 126 126 127 *nread = IPC_GET_ARG2( answer);127 *nread = IPC_GET_ARG2(&answer); 128 128 /* In case of partial success, ARG1 contains the error code */ 129 return (errno_t) IPC_GET_ARG1( answer);129 return (errno_t) IPC_GET_ARG1(&answer); 130 130 131 131 } … … 176 176 } 177 177 178 *nwritten = IPC_GET_ARG2( answer);178 *nwritten = IPC_GET_ARG2(&answer); 179 179 /* In case of partial success, ARG1 contains the error code */ 180 return (errno_t) IPC_GET_ARG1( answer);180 return (errno_t) IPC_GET_ARG1(&answer); 181 181 } 182 182
Note:
See TracChangeset
for help on using the changeset viewer.