From 35c4a21ca16bab70b6cad70feabd6db06c3a1ec8 Mon Sep 17 00:00:00 2001 From: px4dev Date: Mon, 13 Aug 2012 23:52:32 -0700 Subject: [PATCH] Simplify an error message to avoid a bad pointer deref. --- apps/px4/px4io/driver/px4io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/px4/px4io/driver/px4io.cpp b/apps/px4/px4io/driver/px4io.cpp index 3a3ff64077..fafec77f90 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: