diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-03-05 01:44:02 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-03-05 01:44:02 +0000 |
commit | 9d9a73b1709516600cf7c14cb3662660e2607531 (patch) | |
tree | 6d1fc69eed6fb0a602e0856e0e905f88024d6ecc | |
parent | 15bbcbcf3a7021f34c1f0af79c039dab89478890 (diff) | |
download | verteco-9d9a73b1709516600cf7c14cb3662660e2607531.tar.gz |
Rearrange syslog output to read 8N1 rather than N81
-rw-r--r-- | src/modbuslog.c | 4 |
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; |