From owner-svn-src-all@FreeBSD.ORG Sat Dec 31 19:42:53 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54D74106566B; Sat, 31 Dec 2011 19:42:53 +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 3EF0A8FC1B; Sat, 31 Dec 2011 19:42:53 +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 pBVJgrMN079689; Sat, 31 Dec 2011 19:42:53 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pBVJgrY0079687; Sat, 31 Dec 2011 19:42:53 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201112311942.pBVJgrY0079687@svn.freebsd.org> From: Dimitry Andric Date: Sat, 31 Dec 2011 19:42:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r229141 - stable/9/contrib/telnet/telnetd X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 19:42:53 -0000 Author: dim Date: Sat Dec 31 19:42:52 2011 New Revision: 229141 URL: http://svn.freebsd.org/changeset/base/229141 Log: MFC r228589: In contrib/telnet/telnetd/utility.c, fix a few warnings about format strings not being literals. Modified: stable/9/contrib/telnet/telnetd/utility.c Directory Properties: stable/9/contrib/telnet/ (props changed) Modified: stable/9/contrib/telnet/telnetd/utility.c ============================================================================== --- stable/9/contrib/telnet/telnetd/utility.c Sat Dec 31 19:36:11 2011 (r229140) +++ stable/9/contrib/telnet/telnetd/utility.c Sat Dec 31 19:42:52 2011 (r229141) @@ -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;