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