Changeset 58e7b26 in mainline for uspace/lib/c/generic/stdio/vsprintf.c
- Timestamp:
- 2018-08-31T19:10:47Z (6 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/stdio/vsprintf.c
rbbe5e34 r58e7b26 36 36 #include <stdint.h> 37 37 #include <stdio.h> 38 #include <limits.h> 38 39 39 40 /** Print formatted to string with arguments passed as va_list. … … 50 51 int vsprintf(char *s, const char *fmt, va_list ap) 51 52 { 52 return vsnprintf(s, SIZE_MAX, fmt, ap);53 return vsnprintf(s, INT_MAX, fmt, ap); 53 54 } 54 55
Note:
See TracChangeset
for help on using the changeset viewer.