]> sigrok.org Git - libsigrok.git/commit
serial.c: Show both error code and error message.
authorUwe Hermann <redacted>
Tue, 17 Dec 2013 16:46:24 +0000 (17:46 +0100)
committerUwe Hermann <redacted>
Tue, 17 Dec 2013 16:46:24 +0000 (17:46 +0100)
commitcb7b165b3dc073c49729173132a37203e9d98838
tree0bb0410aeb3c3c14a8c61b78a6000618f7b86628
parent2eb84c983584490153fe2bcbf10cc7ceaf46d033
serial.c: Show both error code and error message.

This is helpful in many cases, e.g. when trying to identify which of the
16000 system error codes from

  http://msdn.microsoft.com/en-us/library/ms681381%28VS.85%29.aspx

has been encountered (which is not trivial if you only have an,
e.g. German, string message alone).
hardware/common/serial.c