Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/asprintf.c

    r28a5ebd r694ca3d6  
    3939#include <stddef.h>
    4040#include <str.h>
    41 #include <io/printf_core.h>
     41#include <printf_core.h>
    4242
    4343static int asprintf_str_write(const char *str, size_t count, void *unused)
     
    8989        va_end(args2);
    9090
    91         if (ret > 0) {
     91        if (ret >= 0) {
    9292                *strp = malloc(ret + 1);
    9393                if (*strp == NULL)
Note: See TracChangeset for help on using the changeset viewer.