]> granicus.if.org Git - graphviz/commitdiff
Report failure to read input
authorerg <devnull@localhost>
Thu, 30 Sep 2010 14:50:55 +0000 (14:50 +0000)
committererg <devnull@localhost>
Thu, 30 Sep 2010 14:50:55 +0000 (14:50 +0000)
cmd/tools/mm2gv.c

index 997dc1191fd2b54034e065b5ed3c0ad9012dab4d..4ed0eb1c99053ae256ad79a25609fe6e0d56d299 100644 (file)
@@ -494,6 +494,7 @@ int main(int argc, char *argv[])
 
     A = SparseMatrix_import_matrix_market(pv.inf, FORMAT_CSR);
     if (!A) {
+       fprintf (stderr, "Unable to read input file \"%s\"\n", pv.infile); 
        usage(1);
     }