Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16953
b: refs/heads/master
c: 025510c
h: refs/heads/master
i:
  16951: ca3a45e
v: v3
  • Loading branch information
Guillaume Chazarain authored and Linus Torvalds committed Jan 9, 2006
1 parent da19797 commit d669cd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 2520f14ca85e38f575eed6acc6e586df246abea6
refs/heads/master: 025510cd20f4c35c3958bea133d96c9bd7c6ef9e
6 changes: 3 additions & 3 deletions trunk/kernel/printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ asmlinkage int vprintk(const char *fmt, va_list args)
p[1] <= '7' && p[2] == '>') {
loglev_char = p[1];
p += 3;
printed_len += 3;
printed_len -= 3;
} else {
loglev_char = default_message_loglevel
+ '0';
Expand All @@ -584,16 +584,16 @@ asmlinkage int vprintk(const char *fmt, va_list args)

for (tp = tbuf; tp < tbuf + tlen; tp++)
emit_log_char(*tp);
printed_len += tlen - 3;
printed_len += tlen;
} else {
if (p[0] != '<' || p[1] < '0' ||
p[1] > '7' || p[2] != '>') {
emit_log_char('<');
emit_log_char(default_message_loglevel
+ '0');
emit_log_char('>');
printed_len += 3;
}
printed_len += 3;
}
log_level_unknown = 0;
if (!*p)
Expand Down

0 comments on commit d669cd3

Please sign in to comment.