Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38078
b: refs/heads/master
c: a09fd48
h: refs/heads/master
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Oct 3, 2006
1 parent c3a1086 commit e9956fa
Show file tree
Hide file tree
Showing 2 changed files with 3 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: f5b747b487038ce2a23e7b922bc4d27149838965
refs/heads/master: a09fd48f8fb6ecb8bf85efdd884b21b6201ef9cc
3 changes: 2 additions & 1 deletion trunk/drivers/video/fbmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,8 @@ static int fbmem_read_proc(char *buf, char **start, off_t offset,
int clen;

clen = 0;
for (fi = registered_fb; fi < &registered_fb[FB_MAX] && len < 4000; fi++)
for (fi = registered_fb; fi < &registered_fb[FB_MAX] && clen < 4000;
fi++)
if (*fi)
clen += sprintf(buf + clen, "%d %s\n",
(*fi)->node,
Expand Down

0 comments on commit e9956fa

Please sign in to comment.