Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325646
b: refs/heads/master
c: ee8b593
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Aug 10, 2012
1 parent 8844d7f commit 79cdde2
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: f06fb543c1d0cbd721250b72ee1244178a38aa9d
refs/heads/master: ee8b593affdf893012e57f4c54a21984d1b0d92e
2 changes: 1 addition & 1 deletion trunk/drivers/char/ttyprintk.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static int tpk_printk(const unsigned char *buf, int count)
tmp[tpk_curr + 1] = '\0';
printk(KERN_INFO "%s%s", tpk_tag, tmp);
tpk_curr = 0;
if (buf[i + 1] == '\n')
if ((i + 1) < count && buf[i + 1] == '\n')
i++;
break;
case '\n':
Expand Down

0 comments on commit 79cdde2

Please sign in to comment.