perf-counter: fix compiler warnings
authorAndy Zhou <azhou@nicira.com>
Tue, 14 Apr 2015 21:22:08 +0000 (14:22 -0700)
committerAndy Zhou <azhou@nicira.com>
Tue, 14 Apr 2015 22:23:02 +0000 (15:23 -0700)
commit296527dffb8b6f90f2305bd20bae36be3add3cdc
tree46d695598c581eec0fa5d91c62e7d0b90406dd5b
parent60ceeb6c16572e75e7609ec53cf22f6700fd876f
perf-counter: fix compiler warnings

Gcc complains about:
lib/perf-counter.c:43:13: error: ignoring return value of 'read',
declared with attribute warn_unused_result [-Werror=unused-result]
         read(fd__, counter, sizeof(*counter));

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Russell Bryant <rbryant@redhat.com>
lib/perf-counter.c