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