From 22f3f7085f8d3e6a526cf88aff459caa2e81cd9f Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 30 Jan 2009 05:47:40 +0000 Subject: [PATCH] fix null output test git-svn-id: http://ltt.polymtl.ca/svn@3304 04897980-b3bd-0310-b5e0-8ef037075253 --- trunk/obsolete/ltt-usertrace/ltt-usertrace-fast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.34.1