Index: trunk/src/processor.h
===================================================================
--- trunk/src/processor.h	(revision 5)
+++ trunk/src/processor.h	(revision 9)
@@ -1,3 +1,4 @@
 #include <systemc.h>
+#include <iostream>
 #include "util.h"
 #include "queue.h"
@@ -46,6 +47,6 @@
 
         file.open(filename, ios::in);
-        if (file.bad()) {
-            cerr << "error opening file";
+        if (file.fail()) {
+            cerr << "error opening file : "  << filename << endl;
             exit (1);   // Erreur a l'ouverture, on quitte... violemment ...
         }
