In contrib/telnet/telnetd/utility.c, fix a few warnings about format

strings not being literals.

MFC after:	1 week


git-svn-id: http://svn0.us-east.freebsd.org/base/head/contrib/telnet@228589 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
This commit is contained in:
dim 2011-12-16 16:53:54 +00:00
parent d107e99829
commit bd32956cba
1 changed files with 4 additions and 4 deletions

View File

@ -847,22 +847,22 @@ printsub(char direction, unsigned char *pointer, int length)
for (i = 2; i < length; i++ ) {
switch (pointer[i]) {
case NEW_ENV_VAR:
output_data("\" VAR " + noquote);
output_data("%s", "\" VAR " + noquote);
noquote = 2;
break;
case NEW_ENV_VALUE:
output_data("\" VALUE " + noquote);
output_data("%s", "\" VALUE " + noquote);
noquote = 2;
break;
case ENV_ESC:
output_data("\" ESC " + noquote);
output_data("%s", "\" ESC " + noquote);
noquote = 2;
break;
case ENV_USERVAR:
output_data("\" USERVAR " + noquote);
output_data("%s", "\" USERVAR " + noquote);
noquote = 2;
break;