]> git.sur5r.net Git - tio/blobdiff - src/options.c
Update upstream source from tag 'upstream/2.4'
[tio] / src / options.c
index cac622263ed00cfa41afea868ffaa6fa59aea570..eb75144edf7ae99445fa1b67dd7697659b311edb 100644 (file)
@@ -38,6 +38,7 @@
 #include "rs485.h"
 #include "timestamp.h"
 #include "alert.h"
+#include "log.h"
 
 enum opt_t
 {
@@ -216,7 +217,7 @@ void options_print()
     if (option.map[0] != 0)
         tio_printf(" Map flags: %s", option.map);
     if (option.log)
-        tio_printf(" Log file: %s", option.log_filename);
+        tio_printf(" Log file: %s", log_get_filename());
     if (option.socket)
         tio_printf(" Socket: %s", option.socket);
 }