Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/io/klog.c

    ra217358 r2595dab  
    4242size_t klog_write(const void *buf, size_t size)
    4343{
    44         ssize_t ret = (ssize_t) __SYSCALL3(SYS_KLOG, 1, (sysarg_t) buf, size);
    45        
    46         if (ret >= 0)
    47                 return (size_t) ret;
    48        
    49         return 0;
     44        return (size_t) __SYSCALL3(SYS_KLOG, 1, (sysarg_t) buf, size);
    5045}
    5146
Note: See TracChangeset for help on using the changeset viewer.