Skip to content
Snippets Groups Projects
Commit 4ac4a5b9 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Address GCC 9.3.0 warnings:

warning: format not a string literal and no format arguments
parent f600d68f
No related branches found
No related tags found
No related merge requests found
......@@ -1685,7 +1685,7 @@ int main(int argc, char **argv)
break;
default:
fprintf(statfp,"Unrecognized command '%s'\n\n",argv[i]);
fprintf(statfp,usage);
fprintf(statfp,"%s",usage);
bail(1);
return -1;
}
......@@ -1825,14 +1825,14 @@ int main(int argc, char **argv)
if(!(mode&(SEND|RECV))) {
fprintf(statfp,"!No command specified\n\n");
fprintf(statfp,usage);
fprintf(statfp,"%s",usage);
bail(1);
return -1;
}
if(mode&(SEND|XMODEM) && !fnames) { /* Sending with any or recv w/XMODEM */
fprintf(statfp,"!Must specify filename or filelist\n\n");
fprintf(statfp,usage);
fprintf(statfp,"%s",usage);
bail(1);
return -1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment