aboutsummaryrefslogtreecommitdiffstats
path: root/src
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 /src
parent15bbcbcf3a7021f34c1f0af79c039dab89478890 (diff)
downloadverteco-9d9a73b1709516600cf7c14cb3662660e2607531.tar.gz
Rearrange syslog output to read 8N1 rather than N81
Diffstat (limited to 'src')
-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;
7cdf6994bb3451b8a8e18a62b8ec&follow=1'>Second attemptJonathan McCrohan2-194/+0 2012-01-29Fix b0rked symbol file.Jonathan McCrohan1-1/+1 2012-01-29Add symbolsJonathan McCrohan3-1/+739 2012-01-26add examples properlyJonathan McCrohan1-0/+2 2012-01-26Update changelogJonathan McCrohan1-3/+6 2012-01-26fix typoJonathan McCrohan1-1/+1 2012-01-26fix accidental description changesJonathan McCrohan1-2/+2 2012-01-26more fucking around to please lintianJonathan McCrohan1-5/+2 2012-01-25Linitan fixesJonathan McCrohan2-3/+2 2012-01-25Split out debug packagesJonathan McCrohan2-1/+6 2011-12-31Fix debian/rulesJonathan McCrohan1-1/+1 2011-12-31Remove shlibsJonathan McCrohan1-2/+0 2011-12-31Remove NMU from changelogJonathan McCrohan1-1/+0 2011-12-31Lintian FixesJonathan McCrohan1-2/+4 2011-12-31Remove Makefile patchJonathan McCrohan1-1/+0 2011-12-31Update MakefilesJonathan McCrohan10-248/+8222 2011-12-31Updated makefilesJonathan McCrohan1-0/+1