Changes in uspace/lib/pcut/src/os/helenos.c [b7fd2a0:f77c1c9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcut/src/os/helenos.c
rb7fd2a0 rf77c1c9 68 68 } 69 69 70 void pcut_str_error( errno_t error, char *buffer, int size) {70 void pcut_str_error(int error, char *buffer, int size) { 71 71 const char *str = str_error(error); 72 72 if (str == NULL) { … … 130 130 * @return EOK Always. 131 131 */ 132 static errno_t test_timeout_handler_fibril(void *arg) {132 static int test_timeout_handler_fibril(void *arg) { 133 133 pcut_item_t *test = arg; 134 134 int timeout_sec = pcut_get_test_timeout(test); … … 139 139 goto leave_no_kill; 140 140 } 141 errno_t rc = fibril_condvar_wait_timeout(&forced_termination_cv,141 int rc = fibril_condvar_wait_timeout(&forced_termination_cv, 142 142 &forced_termination_mutex, timeout_us); 143 143 if (rc == ETIMEOUT) { … … 160 160 snprintf(tempfile_name, PCUT_TEMP_FILENAME_BUFFER_SIZE - 1, "pcut_%lld.tmp", (unsigned long long) task_get_id()); 161 161 int tempfile; 162 errno_t rc = vfs_lookup_open(tempfile_name, WALK_REGULAR | WALK_MAY_CREATE, MODE_READ | MODE_WRITE, &tempfile);162 int rc = vfs_lookup_open(tempfile_name, WALK_REGULAR | WALK_MAY_CREATE, MODE_READ | MODE_WRITE, &tempfile); 163 163 if (rc != EOK) { 164 164 pcut_report_test_done(test, PCUT_OUTCOME_INTERNAL_ERROR, "Failed to create temporary file.", NULL, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.