Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156626
b: refs/heads/master
c: 7eac7e9
h: refs/heads/master
v: v3
  • Loading branch information
Pierre Habouzit authored and Ingo Molnar committed Aug 9, 2009
1 parent e96ed3b commit 7375a37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ae07b63f4b6728e1f98aa5c5416cfc1280f59f51
refs/heads/master: 7eac7e9e726c1b136bd7e0ad6671ce315f48bb18
2 changes: 2 additions & 0 deletions trunk/tools/perf/util/header.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ static void do_read(int fd, void *buf, size_t size)

if (ret < 0)
die("failed to read");
if (ret == 0)
die("failed to read: missing data");

size -= ret;
buf += ret;
Expand Down

0 comments on commit 7375a37

Please sign in to comment.