diff options
Diffstat (limited to 'src/util/atcmd.c')
-rw-r--r-- | src/util/atcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/atcmd.c b/src/util/atcmd.c index 88703d0..c84c3ec 100644 --- a/src/util/atcmd.c +++ b/src/util/atcmd.c @@ -75,7 +75,7 @@ int atcmd_main(struct lgsm_handle *lgsmh) } rc = lgsm_handle_packet(lgsmh, buf, rc); if (rc < 0) - printf("ERROR processing packet: %d(%s)\n", rc, strerror(rc)); + printf("ERROR processing packet: %d(%s)\n", rc, strerror(-rc)); } if (FD_ISSET(0, &readset)) { /* we've received something on stdin. send it as passthrough |