aboutsummaryrefslogtreecommitdiffstats
path: root/src/modbuslog.c
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-03-13 01:44:55 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2012-03-13 01:44:55 +0000
commita8e3c622928d4af3eee81729656f05717d6dd233 (patch)
treeaef876e3a017c07a783510b510fd9ed23b5385bb /src/modbuslog.c
parentfb308a4f7db1edeb524be691598f9d3f48dbabb6 (diff)
downloadverteco-a8e3c622928d4af3eee81729656f05717d6dd233.tar.gz
modbuslog: fix syslog regression
Introduced in 58bba2bc1f7da50109467a5ffd233b94623deac5
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);