Ignore:
Timestamp:
2018-08-31T19:10:47Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
be34d6f
Parents:
bbe5e34
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-04-20 18:54:48)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-31 19:10:47)
Message:

Make uspace hosted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/stdio/vsprintf.c

    rbbe5e34 r58e7b26  
    3636#include <stdint.h>
    3737#include <stdio.h>
     38#include <limits.h>
    3839
    3940/** Print formatted to string with arguments passed as va_list.
     
    5051int vsprintf(char *s, const char *fmt, va_list ap)
    5152{
    52         return vsnprintf(s, SIZE_MAX, fmt, ap);
     53        return vsnprintf(s, INT_MAX, fmt, ap);
    5354}
    5455
Note: See TracChangeset for help on using the changeset viewer.