]> sourceware.org Git - systemtap.git/commitdiff
translate.cxx: edit MAXACTION check error message
authorAbegail Jakop <ajakop@redhat.com>
Fri, 20 Jun 2014 20:40:58 +0000 (16:40 -0400)
committerAbegail Jakop <ajakop@redhat.com>
Fri, 20 Jun 2014 20:40:58 +0000 (16:40 -0400)
translate.cxx

index 83cb8f5fae89a6ff9fbb319f84044f03ea13f59f..7f5df719f2fad95b9f22650d49a40992fe7a026e 100644 (file)
@@ -2234,7 +2234,7 @@ c_unparser::emit_function (functiondecl* v)
   if (mai.statement_count < mai.max_statement_count && !session->unoptimized) // this is a finite-statement-count function
     {
       o->newline() << "if (c->actionremaining < " << mai.statement_count
-                   << ") { c->last_error = \"MAXACTION too low\"; goto out; }";
+                   << ") { c->last_error = " << STAP_T_04 << "goto out; }";
       this->already_checked_action_count = true;
     }
 
@@ -2407,7 +2407,7 @@ c_unparser::emit_probe (derived_probe* v)
       if (mai.statement_count < mai.max_statement_count && !session->unoptimized) // this is a finite-statement-count probe
         {
           o->newline() << "if (c->actionremaining < " << mai.statement_count 
-                       << ") { c->last_error = \"MAXACTION too low\"; goto out; }";
+                       << ") { c->last_error = " << STAP_T_04 << " goto out; }";
           this->already_checked_action_count = true;
         }
 
This page took 0.033836 seconds and 5 git commands to generate.