Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/pcut/src/os/helenos.c

    rb7fd2a0 rf77c1c9  
    6868}
    6969
    70 void pcut_str_error(errno_t error, char *buffer, int size) {
     70void pcut_str_error(int error, char *buffer, int size) {
    7171        const char *str = str_error(error);
    7272        if (str == NULL) {
     
    130130 * @return EOK Always.
    131131 */
    132 static errno_t test_timeout_handler_fibril(void *arg) {
     132static int test_timeout_handler_fibril(void *arg) {
    133133        pcut_item_t *test = arg;
    134134        int timeout_sec = pcut_get_test_timeout(test);
     
    139139                goto leave_no_kill;
    140140        }
    141         errno_t rc = fibril_condvar_wait_timeout(&forced_termination_cv,
     141        int rc = fibril_condvar_wait_timeout(&forced_termination_cv,
    142142                &forced_termination_mutex, timeout_us);
    143143        if (rc == ETIMEOUT) {
     
    160160        snprintf(tempfile_name, PCUT_TEMP_FILENAME_BUFFER_SIZE - 1, "pcut_%lld.tmp", (unsigned long long) task_get_id());
    161161        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);
    163163        if (rc != EOK) {
    164164                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.