Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/generic/src/vprintf.c

    r28a5ebd rf5e1692  
    3636#include <str.h>
    3737
    38 static int vprintf_str_write(const char *str, size_t size, void *data)
     38static errno_t vprintf_str_write(const char *str, size_t size, void *data)
    3939{
    4040        size_t offset = 0;
    41         size_t chars = 0;
    4241
    43         while (offset < size) {
     42        while (offset < size)
    4443                putuchar(str_decode(str, &offset, size));
    45                 chars++;
    46         }
    4744
    48         return chars;
     45        return EOK;
    4946}
    5047
     
    7168        };
    7269
    73         int ret = printf_core(fmt, &ps, ap);
    74 
    75         return ret;
     70        return printf_core(fmt, &ps, ap);
    7671}
    7772
Note: See TracChangeset for help on using the changeset viewer.