Changes in uspace/srv/klog/klog.c [9246016:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/klog/klog.c
r9246016 rb7fd2a0 101 101 { 102 102 size_t len = 0; 103 int rc = klog_read(buffer, BUFFER_SIZE, &len);103 errno_t rc = klog_read(buffer, BUFFER_SIZE, &len); 104 104 if (rc != EOK) { 105 105 log_msg(LOG_DEFAULT, LVL_ERROR, "klog_read failed, rc = %s", … … 146 146 * 147 147 */ 148 static int consumer(void *data)148 static errno_t consumer(void *data) 149 149 { 150 150 … … 210 210 int main(int argc, char *argv[]) 211 211 { 212 int rc = log_init(NAME);212 errno_t rc = log_init(NAME); 213 213 if (rc != EOK) { 214 214 fprintf(stderr, "%s: Unable to initialize log\n", NAME);
Note:
See TracChangeset
for help on using the changeset viewer.