In usr.sbin/pmccontrol/pmccontrol.c, fix a few warnings about format

strings not being literals.

MFC after:	1 week
This commit is contained in:
Dimitry Andric 2011-12-17 23:39:13 +00:00
parent 9a3df8edd1
commit e2d0cd59c3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228671

View File

@ -452,7 +452,7 @@ main(int argc, char **argv)
case '?':
warnx("Unrecognized option \"-%c\"", optopt);
errx(EX_USAGE, usage_message);
errx(EX_USAGE, "%s", usage_message);
break;
default:
@ -462,7 +462,7 @@ main(int argc, char **argv)
}
if (command == PMCC_PRINT_USAGE)
(void) errx(EX_USAGE, usage_message);
(void) errx(EX_USAGE, "%s", usage_message);
if (error)
exit(EX_USAGE);