aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modbuslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modbuslog.c b/src/modbuslog.c
index 3b56290..8a9da3a 100644
--- a/src/modbuslog.c
+++ b/src/modbuslog.c
@@ -131,7 +131,7 @@ int main(int argc, char *argv[]) {
}
syslog(LOG_INFO, "MAC=[%s]", mac_address());
- syslog(LOG_INFO, "Serial Port=[%s]");
+ syslog(LOG_INFO, "Serial Port=[%s]", modbus_device_address);
syslog(LOG_INFO, "Serial Port Parameters=[%d %d %c %d]", modbus_baud_rate,
modbus_data_bits, modbus_parity[0], modbus_stop_bits);