Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24866
b: refs/heads/master
c: e11c0cd
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Mar 31, 2006
1 parent d778de1 commit 80cd45c
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: 43cecb3079d048800e828edafb937e596152908d
refs/heads/master: e11c0cdf4c6f7976e6f4fe221369a7b420245389
2 changes: 1 addition & 1 deletion trunk/arch/um/drivers/mconsole_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ static void console_write(struct console *console, const char *string,
return;

while(1){
n = min(len, ARRAY_SIZE(console_buf) - console_index);
n = min((size_t)len, ARRAY_SIZE(console_buf) - console_index);
strncpy(&console_buf[console_index], string, n);
console_index += n;
string += n;
Expand Down

0 comments on commit 80cd45c

Please sign in to comment.