Index: trunk/pstamp/scripts/dqueryparse.pl
===================================================================
--- trunk/pstamp/scripts/dqueryparse.pl	(revision 18237)
+++ trunk/pstamp/scripts/dqueryparse.pl	(revision 18540)
@@ -69,5 +69,5 @@
 
 my $response_file = "$out_dir/response.fits";
-my $result;
+my $fault;
 {
     my $command = "$fakedresponse --input $uri --output $response_file --workdir $out_dir";
@@ -80,5 +80,5 @@
         warn("Unable to perform $command error code: $error_code");
     }
-    $result = $error_code >> 8;
+    $fault = $error_code >> 8;
 }
 
@@ -86,5 +86,5 @@
 {
     my $command = "$pstamptool -addjob -req_id $req_id -uri $uri -outputBase $out_dir -job_type detect_query";
-    $command .= " -state stop -result $result";
+    $command .= " -state stop -fault $fault";
 
     my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
