Hi Szymon/Johan, On Mon, Jan 13, 2014 at 4:48 AM, Johan Hedberg <johan.hedberg@xxxxxxxxx> wrote: > Hi Szymon, > > On Mon, Jan 13, 2014, Szymon Janc wrote: >> Don't ignore return value of write. This fix following build error on >> Ubuntu: >> >> tools/seq2bseq.c: In function ‘convert_line’: >> tools/seq2bseq.c:52:8: error: ignoring return value of ‘write’, >> declared with attribute warn_unused_result [-Werror=unused-result] >> write(fd, &val, 1); >> --- >> tools/seq2bseq.c | 10 +++++++--- >> 1 file changed, 7 insertions(+), 3 deletions(-) > > Both patches have been applied. Thanks. I sent a similar patch a few hours ago (which was not applied). There you can see the caller of convert_line() also needs to be changed to break the parsing loop. I was also printing the error with perror (similar to other places on the file). Best Regards, -- Anderson Lizardo Instituto Nokia de Tecnologia - INdT Manaus - Brazil -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html