Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86320
b: refs/heads/master
c: cf3680b
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Linus Torvalds committed Feb 26, 2008
1 parent c3039fb commit cc68f6b
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: bfa274e2436fc7ef72ef51c878083647f1cfd429
refs/heads/master: cf3680b90c7842cf91ed857ac4528f4e057da366
2 changes: 1 addition & 1 deletion trunk/kernel/printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ asmlinkage int vprintk(const char *fmt, va_list args)
}
/* Emit the output into the temporary buffer */
printed_len += vscnprintf(printk_buf + printed_len,
sizeof(printk_buf), fmt, args);
sizeof(printk_buf) - printed_len, fmt, args);

/*
* Copy the output into log_buf. If the caller didn't provide
Expand Down

0 comments on commit cc68f6b

Please sign in to comment.