diff options
author | px4dev <px4@purgatory.org> | 2012-08-13 23:52:32 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-08-13 23:52:32 -0700 |
commit | 35c4a21ca16bab70b6cad70feabd6db06c3a1ec8 (patch) | |
tree | c5fdf83dd03d3dbcc2828df7f32813bb41555613 /apps/px4/px4io/driver/px4io.cpp | |
parent | f1f843099b55b3b99d442b57629c49e7e1b19986 (diff) | |
download | px4-firmware-35c4a21ca16bab70b6cad70feabd6db06c3a1ec8.tar.gz px4-firmware-35c4a21ca16bab70b6cad70feabd6db06c3a1ec8.tar.bz2 px4-firmware-35c4a21ca16bab70b6cad70feabd6db06c3a1ec8.zip |
Simplify an error message to avoid a bad pointer deref.
Diffstat (limited to 'apps/px4/px4io/driver/px4io.cpp')
-rw-r--r-- | apps/px4/px4io/driver/px4io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/px4/px4io/driver/px4io.cpp b/apps/px4/px4io/driver/px4io.cpp index 3a3ff6407..fafec77f9 100644 --- a/apps/px4/px4io/driver/px4io.cpp +++ b/apps/px4/px4io/driver/px4io.cpp @@ -536,7 +536,7 @@ px4io_main(int argc, char *argv[]) case OK: break; case -ENOENT: - fprintf(stderr, "PX4IO firmware file '%s' not found\n", fn); + fprintf(stderr, "PX4IO firmware file not found\n"); break; case -EEXIST: case -EIO: |