Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31037
b: refs/heads/master
c: 0a6047e
h: refs/heads/master
i:
  31035: 8d79380
v: v3
  • Loading branch information
Linus Torvalds committed Jun 29, 2006
1 parent 4e9d5d8 commit 31c246b
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 27d68a36c4f1ca2fc6be82620843493462c08c51
refs/heads/master: 0a6047eef1c465c38aacfbdab193161b3f0cd144
2 changes: 1 addition & 1 deletion trunk/lib/vsprintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
if (str < end)
*str = '\0';
else
*end = '\0';
end[-1] = '\0';
}
/* the trailing null byte doesn't count towards the total */
return str-buf;
Expand Down

0 comments on commit 31c246b

Please sign in to comment.