Changes in uspace/srv/clipboard/clipboard.c [25a179e:8d6bcc8c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/clipboard/clipboard.c
r25a179e r8d6bcc8c 29 29 #include <async.h> 30 30 #include <errno.h> 31 #include <str_error.h>32 31 #include <fibril_synch.h> 33 32 #include <ipc/services.h> 34 33 #include <ipc/clipboard.h> 35 34 #include <loc.h> 35 #include <malloc.h> 36 36 #include <stdio.h> 37 37 #include <stdbool.h> 38 #include <stdlib.h>39 38 #include <task.h> 40 39 … … 121 120 } 122 121 123 int retval = async_data_read_finalize(callid, clip_data, size);122 sysarg_t retval = async_data_read_finalize(callid, clip_data, size); 124 123 if (retval != EOK) { 125 124 async_answer_0(rid, retval); … … 189 188 rc = loc_server_register(NAME); 190 189 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); 192 191 return rc; 193 192 } … … 195 194 rc = loc_service_register(SERVICE_NAME_CLIPBOARD, &svc_id); 196 195 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); 198 197 return rc; 199 198 }
Note:
See TracChangeset
for help on using the changeset viewer.