Ignore:
File:
1 edited

Legend:

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

    r8d6bcc8c rc1694b6b  
    2929#include <async.h>
    3030#include <errno.h>
     31#include <str_error.h>
    3132#include <fibril_synch.h>
    3233#include <ipc/services.h>
    3334#include <ipc/clipboard.h>
    3435#include <loc.h>
    35 #include <malloc.h>
    3636#include <stdio.h>
    3737#include <stdbool.h>
     38#include <stdlib.h>
    3839#include <task.h>
    3940
     
    188189        rc = loc_server_register(NAME);
    189190        if (rc != EOK) {
    190                 printf("%s: Failed registering server. (%d)\n", NAME, rc);
     191                printf("%s: Failed registering server: %s\n", NAME, str_error(rc));
    191192                return rc;
    192193        }
     
    194195        rc = loc_service_register(SERVICE_NAME_CLIPBOARD, &svc_id);
    195196        if (rc != EOK) {
    196                 printf("%s: Failed registering service. (%d)\n", NAME, rc);
     197                printf("%s: Failed registering service : %s\n", NAME, str_error(rc));
    197198                return rc;
    198199        }
Note: See TracChangeset for help on using the changeset viewer.