diff --git a/src/frontend/rawfile.c b/src/frontend/rawfile.c index c676dfdbc..46639a84a 100644 --- a/src/frontend/rawfile.c +++ b/src/frontend/rawfile.c @@ -71,13 +71,13 @@ raw_write(char *name, struct plot *pl, bool app, bool binary) perror(name); return; } - fprintf(cp_out, "binary raw file\n"); + fprintf(cp_out, "binary raw file \"%s\"\n", name); } else { if ((fp = fopen(name, app ? "a" : "w")) == NULL) { perror(name); return; } - fprintf(cp_out, "ASCII raw file\n"); + fprintf(cp_out, "ASCII raw file \"%s\"\n", name); } /* --------------------------------------------------------------------*/ diff --git a/src/frontend/runcoms.c b/src/frontend/runcoms.c index 2fd724083..792094cba 100644 --- a/src/frontend/runcoms.c +++ b/src/frontend/runcoms.c @@ -265,7 +265,7 @@ dosim( ft_setflag = FALSE; return 1; } - fprintf(cp_out, "ASCII raw file\n"); + fprintf(cp_out, "ASCII raw file \"%s\"\n", wl->wl_word); } else if (!ascii) { if ((rawfileFp = fopen(wl->wl_word, "wb")) == NULL) { @@ -273,7 +273,7 @@ dosim( ft_setflag = FALSE; return 1; } - fprintf(cp_out, "binary raw file\n"); + fprintf(cp_out, "binary raw file \"%s\"\n", wl->wl_word); } /*---------------------------------------------------------------------------*/ #else