Changeset c7c6afd in mainline for boot/generic/src/vprintf.c


Ignore:
Timestamp:
2025-04-13T23:27:44Z (4 weeks ago)
Author:
GitHub <noreply@…>
Children:
b6061f8c
Parents:
240b2e4 (diff), f5e1692 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Wayne Thornton <wmthornton-dev@…> (2025-04-13 23:27:44)
git-committer:
GitHub <noreply@…> (2025-04-13 23:27:44)
Message:

Merge branch 'HelenOS:master' into master

File:
1 edited

Legend:

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

    r240b2e4 rc7c6afd  
    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.