From owner-svn-src-head@FreeBSD.ORG Fri Dec 16 16:53:55 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D8AC106566B; Fri, 16 Dec 2011 16:53:55 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5C1F68FC16; Fri, 16 Dec 2011 16:53:55 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pBGGrtUO018199; Fri, 16 Dec 2011 16:53:55 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pBGGrtXk018197; Fri, 16 Dec 2011 16:53:55 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201112161653.pBGGrtXk018197@svn.freebsd.org> From: Dimitry Andric Date: Fri, 16 Dec 2011 16:53:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r228589 - head/contrib/telnet/telnetd X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 16:53:55 -0000 Author: dim Date: Fri Dec 16 16:53:54 2011 New Revision: 228589 URL: http://svn.freebsd.org/changeset/base/228589 Log: In contrib/telnet/telnetd/utility.c, fix a few warnings about format strings not being literals. MFC after: 1 week Modified: head/contrib/telnet/telnetd/utility.c Modified: head/contrib/telnet/telnetd/utility.c ============================================================================== --- head/contrib/telnet/telnetd/utility.c Fri Dec 16 16:32:08 2011 (r228588) +++ head/contrib/telnet/telnetd/utility.c Fri Dec 16 16:53:54 2011 (r228589) @@ -847,22 +847,22 @@ printsub(char direction, unsigned char * 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;