fprintf takes a FILE pointer too
authorChris Torek <torek@ucbvax.Berkeley.EDU>
Thu, 7 Feb 1991 14:52:50 +0000 (06:52 -0800)
committerChris Torek <torek@ucbvax.Berkeley.EDU>
Thu, 7 Feb 1991 14:52:50 +0000 (06:52 -0800)
SCCS-vsn: usr.bin/gprof/lookup.c 5.5

usr/src/usr.bin/gprof/lookup.c

index a0b4e0a..1624e6e 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)lookup.c   5.4 (Berkeley) %G%";
+static char sccsid[] = "@(#)lookup.c   5.5 (Berkeley) %G%";
 #endif /* not lint */
 
 #include "gprof.h"
 #endif /* not lint */
 
 #include "gprof.h"
@@ -59,7 +59,7 @@ arclookup( parentp , childp )
     arctype    *arcp;
 
     if ( parentp == 0 || childp == 0 ) {
     arctype    *arcp;
 
     if ( parentp == 0 || childp == 0 ) {
-       fprintf( "[arclookup] parentp == 0 || childp == 0\n" );
+       fprintf( stderr, "[arclookup] parentp == 0 || childp == 0\n" );
        return 0;
     }
 #   ifdef DEBUG
        return 0;
     }
 #   ifdef DEBUG