Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/clipboard/clipboard.c

    r25a179e r8d6bcc8c  
    2929#include <async.h>
    3030#include <errno.h>
    31 #include <str_error.h>
    3231#include <fibril_synch.h>
    3332#include <ipc/services.h>
    3433#include <ipc/clipboard.h>
    3534#include <loc.h>
     35#include <malloc.h>
    3636#include <stdio.h>
    3737#include <stdbool.h>
    38 #include <stdlib.h>
    3938#include <task.h>
    4039
     
    121120                }
    122121               
    123                 int retval = async_data_read_finalize(callid, clip_data, size);
     122                sysarg_t retval = async_data_read_finalize(callid, clip_data, size);
    124123                if (retval != EOK) {
    125124                        async_answer_0(rid, retval);
     
    189188        rc = loc_server_register(NAME);
    190189        if (rc != EOK) {
    191                 printf("%s: Failed registering server: %s\n", NAME, str_error(rc));
     190                printf("%s: Failed registering server. (%d)\n", NAME, rc);
    192191                return rc;
    193192        }
     
    195194        rc = loc_service_register(SERVICE_NAME_CLIPBOARD, &svc_id);
    196195        if (rc != EOK) {
    197                 printf("%s: Failed registering service : %s\n", NAME, str_error(rc));
     196                printf("%s: Failed registering service. (%d)\n", NAME, rc);
    198197                return rc;
    199198        }
Note: See TracChangeset for help on using the changeset viewer.