[BACK]Return to lookup.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / gprof

Diff for /src/usr.bin/gprof/lookup.c between version 1.2 and 1.3

version 1.2, 1996/06/26 05:33:53 version 1.3, 2001/03/22 05:18:30
Line 81 
Line 81 
         }          }
     }      }
 #   ifdef DEBUG  #   ifdef DEBUG
         if ( debug & LOOKUPDEBUG ) {          if ( debug & LOOKUPDEBUG )
             fprintf( stderr , "[nllookup] (%d) binary search fails\n" ,              warnx("[nllookup] (%d) binary search fails", nname - 1);
                 nname-1 );  
         }  
 #   endif DEBUG  #   endif DEBUG
     return 0;      return 0;
 }  }
Line 97 
Line 95 
     arctype     *arcp;      arctype     *arcp;
   
     if ( parentp == 0 || childp == 0 ) {      if ( parentp == 0 || childp == 0 ) {
         fprintf( stderr, "[arclookup] parentp == 0 || childp == 0\n" );          warnx("[arclookup] parentp == 0 || childp == 0");
         return 0;          return 0;
     }      }
 #   ifdef DEBUG  #   ifdef DEBUG

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3