Commit c5e8dfb6 authored by Mike Frysinger's avatar Mike Frysinger

fix "format not a string literal" warnings

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 4d721ae0
......@@ -271,7 +271,7 @@ int show_basic_mii(int sock, int phy_id)
if (opt_watch) {
if (opt_log) {
syslog(LOG_INFO, buf);
syslog(LOG_INFO, "%s", buf);
} else {
char s[20];
time_t t = time(NULL);
......
......@@ -226,7 +226,7 @@ int main(int argc, char **argv)
case 'h':
usage();
case 'V':
fprintf(stderr, version_string);
fputs(version_string, stderr);
exit(E_VERSION);
break;
case 'v':
......
......@@ -569,7 +569,7 @@ usage(void)
"[-c cmd] [-s speed] [-p protocol] tty | -\n"
" slattach -V | --version\n";
fprintf(stderr, usage_msg);
fputs(usage_msg, stderr);
exit(1);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment