only display something if we found profile data
authorMatthias Braun <matze@braunis.de>
Tue, 5 Sep 2006 09:25:33 +0000 (09:25 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 5 Sep 2006 09:25:33 +0000 (09:25 +0000)
ir/be/beprofile.c

index 1140a36..0bdcd9a 100644 (file)
@@ -306,9 +306,9 @@ be_profile_read(char * filename)
 
        f = fopen(filename, "r");
        if(f == NULL) {
-               perror("opening of profile data failed");
                return;
        }
+       printf("found profile data.\n");
 
        /* check magic */
        ret = fread(buf, 8, 1, f);