Changeset bfc5577a in mainline for uspace/lib/drv/generic/remote_clock_dev.c
- Timestamp:
- 2012-04-18T20:10:55Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a44b58c
- Parents:
- f4ebaf3c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_clock_dev.c
rf4ebaf3c rbfc5577a 96 96 async_data_read_finalize(cid, NULL, 0); 97 97 async_answer_0(callid, rc); 98 return; 98 99 } 99 100 100 101 /* The operation was successful */ 101 102 async_data_read_finalize(cid, &t, sizeof(struct tm)); 102 async_answer_ 1(callid, EOK, rc);103 async_answer_0(callid, rc); 103 104 } 104 105 … … 133 134 134 135 rc = (*clock_dev_ops->time_set)(fun, &t); 135 if (rc < 0) {136 /* Some error occurred */137 async_answer_0(callid, rc);138 return;139 }140 136 141 async_answer_ 1(callid, EOK, rc);137 async_answer_0(callid, rc); 142 138 } 143 139
Note:
See TracChangeset
for help on using the changeset viewer.