X-Git-Url: https://git.piment-noir.org/?p=TP_AL_C.git;a=blobdiff_plain;f=lexer%2Fmain.c;h=d3f086ec00fa41b4d6c096273c2e7efe0b764fcb;hp=c5a04576a1c9de4f9f505601af492d6a58054af9;hb=224a9916c711eb5a0fe0c2065fdb62a0cf40afaf;hpb=9ed84d89d23a6198fd4157bfe93424b7b7582332 diff --git a/lexer/main.c b/lexer/main.c index c5a0457..d3f086e 100644 --- a/lexer/main.c +++ b/lexer/main.c @@ -101,7 +101,7 @@ int main(int argc, char **argv) { // Ouvre le fichier source en lecture seulement (le fichier doit exister) : source = fopen(in_file, "r+"); if (source == NULL) { - pr_error("Impossible d'ouvrir le fichier %s\n", in_file); + pr_error("Fail to open file %s\n", in_file); return EXIT_FAILURE; } } else { @@ -113,7 +113,7 @@ int main(int argc, char **argv) { // avec suppression du contenu au prealable : target = fopen(out_file, "w+"); if (target == NULL) { - pr_error("Impossible d'ouvrir le fichier %s\n", out_file); + pr_error("Fail to open file %s\n", out_file); return EXIT_FAILURE; } } else {