Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199502
b: refs/heads/master
c: 71d41ae
h: refs/heads/master
v: v3
  • Loading branch information
Himanshu Chauhan authored and Michal Marek committed Feb 2, 2010
1 parent d6d8a75 commit 360fa21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: d4987bd7ae8401bd88896a6f76dc7af31fe55732
refs/heads/master: 71d41aed9468a1239cff1b2d928954885b09de6c
6 changes: 4 additions & 2 deletions trunk/scripts/kallsyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ static int read_symbol(FILE *in, struct sym_entry *s)
rc = fscanf(in, "%llx %c %499s\n", &s->addr, &stype, str);
if (rc != 3) {
if (rc != EOF) {
/* skip line */
fgets(str, 500, in);
/* skip line. sym is used as dummy to
* shut of "warn_unused_result" warning.
*/
sym = fgets(str, 500, in);
}
return -1;
}
Expand Down

0 comments on commit 360fa21

Please sign in to comment.