diff options
author | Roel Kluin <[email protected]> | 2009-06-22 18:42:33 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-06-24 10:22:06 +0200 |
commit | f7679dabfaf69840b000d238a020cee7157aca17 (patch) | |
tree | 6b3974205b911b505fbce14588ac3e3f62a591b8 /net/lapb/lapb_timer.c | |
parent | cca03c0aeb18a975abec28df518a2b64ae3e6964 (diff) |
perf_counter tools: Fix strbuf_fread() error path handling
size_t res cannot be less than 0 - fread returns 0 on error.
[ Updated by: René Scharfe <[email protected]> ]
Reported-by: Ingo Molnar <[email protected]>
Signed-off-by: Roel Kluin <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Junio C Hamano <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions