aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-03-05 01:44:02 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2012-03-05 01:44:02 +0000
commit9d9a73b1709516600cf7c14cb3662660e2607531 (patch)
tree6d1fc69eed6fb0a602e0856e0e905f88024d6ecc
parent15bbcbcf3a7021f34c1f0af79c039dab89478890 (diff)
downloadverteco-9d9a73b1709516600cf7c14cb3662660e2607531.tar.gz
Rearrange syslog output to read 8N1 rather than N81
-rw-r--r--src/modbuslog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modbuslog.c b/src/modbuslog.c
index 198015f..0adf566 100644
--- a/src/modbuslog.c
+++ b/src/modbuslog.c
@@ -123,8 +123,8 @@ int main(int argc, char *argv[]) {
return -1;
}
- syslog(LOG_INFO, "%s %s %d %c %d %d", mac_address(), modbus_device_address,
- modbus_baud_rate, modbus_parity[0], modbus_data_bits,
+ syslog(LOG_INFO, "%s %s %d %d %c %d", mac_address(), modbus_device_address,
+ modbus_baud_rate, modbus_data_bits, modbus_parity[0],
modbus_stop_bits);
modbus_t *ctx;