perf tools: Don't die() in do_write()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 17 Nov 2009 03:18:12 +0000 (01:18 -0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 17 Nov 2009 06:19:56 +0000 (07:19 +0100)
commit3726cc75e581c157202da93bb2333cce25c15c98
tree335083c02f999a6d4e0062b827c3a94f0f8f1e36
parenta9a70bbce7ab0bf3b1cba3ac662c4d502da6305c
perf tools: Don't die() in do_write()

Propagate the errors instead, the users are the ones to decide
what to do if a library call fails.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1258427892-16312-4-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/header.c