summaryrefslogtreecommitdiff
path: root/apps/system/hex2bin/hex2mem_main.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-25 15:41:34 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-25 15:41:34 -0600
commit6363fad05b2d312482bde3b54e43e8b0e9831532 (patch)
treea89cd2604a1c5b434c64831871c7d1a3da35f5ba /apps/system/hex2bin/hex2mem_main.c
parent76d6af0fd310967d8bf08d01cfc1db00e4a0c757 (diff)
downloadpx4-nuttx-6363fad05b2d312482bde3b54e43e8b0e9831532.tar.gz
px4-nuttx-6363fad05b2d312482bde3b54e43e8b0e9831532.tar.bz2
px4-nuttx-6363fad05b2d312482bde3b54e43e8b0e9831532.zip
Fixes for more cppcheck complaints.
Diffstat (limited to 'apps/system/hex2bin/hex2mem_main.c')
-rw-r--r--apps/system/hex2bin/hex2mem_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/system/hex2bin/hex2mem_main.c b/apps/system/hex2bin/hex2mem_main.c
index 03feb1ea9..8f82f273b 100644
--- a/apps/system/hex2bin/hex2mem_main.c
+++ b/apps/system/hex2bin/hex2mem_main.c
@@ -238,8 +238,7 @@ int hex2mem_main(int argc, char **argv)
(enum hex2bin_swap_e)swap);
if (ret < 0)
{
- fprintf(stderr, "ERROR: Failed to convert \"%s\" to binary: %d\n",
- ret);
+ fprintf(stderr, "ERROR: Failed to convert to binary: %d\n", ret);
}
/* Clean up and return */