fix null output test
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 30 Jan 2009 05:47:40 +0000 (05:47 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 30 Jan 2009 05:47:40 +0000 (05:47 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3304 04897980-b3bd-0310-b5e0-8ef037075253

trunk/obsolete/ltt-usertrace/ltt-usertrace-fast.c

index f97e941e5e12b2d97e80c9abb52602ee393a656e..a9c45d10a68d7efa0122c186eb2c872d36a4cce3 100644 (file)
@@ -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);
        }
This page took 0.024503 seconds and 4 git commands to generate.