Changes in kernel/generic/src/log/log.c [e367939c:7f11dc6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/log/log.c
re367939c r7f11dc6 223 223 int rc = chr_encode(wstr[chars], buffer, &buffer_offset, 16); 224 224 if (rc != EOK) { 225 return rc;225 return EOF; 226 226 } 227 227 … … 294 294 */ 295 295 sysarg_t sys_klog(sysarg_t operation, void *buf, size_t size, 296 sysarg_t level )296 sysarg_t level, size_t *uspace_nread) 297 297 { 298 298 char *data; … … 376 376 return (sysarg_t) rc; 377 377 378 return copied; 378 return copy_to_uspace(uspace_nread, &copied, sizeof(copied)); 379 return EOK; 379 380 default: 380 381 return (sysarg_t) ENOTSUP;
Note:
See TracChangeset
for help on using the changeset viewer.