]> sigrok.org Git - libsigrok.git/commit
scpi/libgpib: Print error string instead of number on errors
authorAlexandru Gagniuc <redacted>
Sat, 5 Mar 2016 19:33:56 +0000 (11:33 -0800)
committerUwe Hermann <redacted>
Wed, 30 Mar 2016 10:32:55 +0000 (12:32 +0200)
commitdaf13c570f3532a702401363a35195970600c046
treeb3dfe2bc7c7371b9a74195d46ba98b50a3f45e22
parent00b2a092c3e4b0ab9a12b44a50c6b271f4cf71f8
scpi/libgpib: Print error string instead of number on errors

libgpib has an error_string which formats a numeric error code into a
human-readable description. Use that instead of printing the numeric
code, as it makes debugging easier.
src/scpi/scpi_libgpib.c