From: compudj Date: Fri, 30 Jan 2009 05:47:40 +0000 (+0000) Subject: fix null output test X-Git-Tag: v0.12.20~185 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=22f3f7085f8d3e6a526cf88aff459caa2e81cd9f;p=lttv.git fix null output test git-svn-id: http://ltt.polymtl.ca/svn@3304 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/trunk/obsolete/ltt-usertrace/ltt-usertrace-fast.c b/trunk/obsolete/ltt-usertrace/ltt-usertrace-fast.c index f97e941e..a9c45d10 100644 --- a/trunk/obsolete/ltt-usertrace/ltt-usertrace-fast.c +++ b/trunk/obsolete/ltt-usertrace/ltt-usertrace-fast.c @@ -317,7 +317,7 @@ static int open_output_files(void) exit(-1); } fd = open(outfile_name, O_WRONLY); - if(fd_process < 0) { + if(fd < 0) { perror("Error in open"); exit(-1); }