Re: [PATCH 0/4] perf record: Cleanups and mmap-based output

From: David Ahern
Date: Thu Nov 07 2013 - 10:59:52 EST


On 11/7/13, 6:21 AM, Jiri Olsa wrote:

CC builtin-record.o
builtin-record.c: In function âdo_mmap_outputâ:
builtin-record.c:118:13: error: ignoring return value of âftruncateâ, declared with attribute warn_unused_result [-Werror=unused-result]
ftruncate(file->fd, offset);
^
cc1: all warnings being treated as errors


oops, fixed that and forgot to fold into the patch. Will take care of it on next round.

David

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/