Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346360
b: refs/heads/master
c: ef12496
h: refs/heads/master
v: v3
  • Loading branch information
Jason Gunthorpe authored and Linus Torvalds committed Dec 18, 2012
1 parent 1654a56 commit 22484b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2fa72c8fa5d03c4e07894ccb9f0be72e8687a455
refs/heads/master: ef12496022d5917cfe0b04cf8fd685fc6bc08400
5 changes: 4 additions & 1 deletion trunk/lib/vsprintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1485,7 +1485,10 @@ int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
num = va_arg(args, long);
break;
case FORMAT_TYPE_SIZE_T:
num = va_arg(args, size_t);
if (spec.flags & SIGN)
num = va_arg(args, ssize_t);
else
num = va_arg(args, size_t);
break;
case FORMAT_TYPE_PTRDIFF:
num = va_arg(args, ptrdiff_t);
Expand Down

0 comments on commit 22484b5

Please sign in to comment.