diff options
Diffstat (limited to 'src/tet3/tcc/tcc.c')
-rw-r--r-- | src/tet3/tcc/tcc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tet3/tcc/tcc.c b/src/tet3/tcc/tcc.c index 5b07457e..a3071c36 100644 --- a/src/tet3/tcc/tcc.c +++ b/src/tet3/tcc/tcc.c @@ -484,7 +484,8 @@ char **argv; /* open the journal file and write the start messages to it */ jnl_init(jopt, cwd); - (void) printf("%s: journal file is %s\n", tet_progname, jnl_jfname()); + if (jnl_jfname()) + printf("%s: journal file is %s\n", tet_progname, jnl_jfname()); (void) fflush(stdout); jnl_tcc_start(argcsave, argvsave); jnl_uname(); |