forked from Archive/PX4-Autopilot
Simplify an error message to avoid a bad pointer deref.
This commit is contained in:
parent
f1f843099b
commit
35c4a21ca1
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue