diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-03-13 02:15:36 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-03-13 02:15:36 +0000 |
commit | 9eebde6a9eac455c989ea1efa5e0106a20037f12 (patch) | |
tree | c437e64a84e744cdd60309e9a5be9702b2d351db | |
parent | bdc8a6f67470fb563c9f665fb29324caca9ebca2 (diff) | |
download | verteco-9eebde6a9eac455c989ea1efa5e0106a20037f12.tar.gz |
modbuslog: Make debug messages more 'English'
-rw-r--r-- | src/modbuslog.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modbuslog.c b/src/modbuslog.c index 51895ac..abb2002 100644 --- a/src/modbuslog.c +++ b/src/modbuslog.c @@ -226,7 +226,10 @@ int main(int argc, char *argv[]) { modbus_strerror(errno)); modbus_free(ctx); // if connection fails, skip rest of loop - syslog(LOG_ERR, "Skipping read from [%i,%i]", slaveid, startaddress); + syslog( + LOG_ERR, + "Skipping read from slaveid=[%i], registertype=[%i], startaddress=[%i], numregisters=[%i]", + slaveid, registertype, startaddress, numregisters); break; } |