Changes in boot/generic/src/vprintf.c [28a5ebd:f5e1692] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/generic/src/vprintf.c
r28a5ebd rf5e1692 36 36 #include <str.h> 37 37 38 static int vprintf_str_write(const char *str, size_t size, void *data)38 static errno_t vprintf_str_write(const char *str, size_t size, void *data) 39 39 { 40 40 size_t offset = 0; 41 size_t chars = 0;42 41 43 while (offset < size) {42 while (offset < size) 44 43 putuchar(str_decode(str, &offset, size)); 45 chars++;46 }47 44 48 return chars;45 return EOK; 49 46 } 50 47 … … 71 68 }; 72 69 73 int ret = printf_core(fmt, &ps, ap); 74 75 return ret; 70 return printf_core(fmt, &ps, ap); 76 71 } 77 72
Note:
See TracChangeset
for help on using the changeset viewer.