From owner-svn-src-stable@FreeBSD.ORG Sun Jan 1 21:06:07 2012 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3BE5106566B; Sun, 1 Jan 2012 21:06:07 +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 CE4BD8FC08; Sun, 1 Jan 2012 21:06:07 +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 q01L67L9030852; Sun, 1 Jan 2012 21:06:07 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q01L67q6030850; Sun, 1 Jan 2012 21:06:07 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201201012106.q01L67q6030850@svn.freebsd.org> From: Dimitry Andric Date: Sun, 1 Jan 2012 21:06:07 +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: r229207 - stable/9/contrib/telnet/telnet X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jan 2012 21:06:08 -0000 Author: dim Date: Sun Jan 1 21:06:07 2012 New Revision: 229207 URL: http://svn.freebsd.org/changeset/base/229207 Log: MFC r228651: In contrib/telnet/telnet/utilities.c, fix a few warnings about format strings not being literals. Modified: stable/9/contrib/telnet/telnet/utilities.c Directory Properties: stable/9/contrib/telnet/ (props changed) Modified: stable/9/contrib/telnet/telnet/utilities.c ============================================================================== --- stable/9/contrib/telnet/telnet/utilities.c Sun Jan 1 20:59:42 2012 (r229206) +++ stable/9/contrib/telnet/telnet/utilities.c Sun Jan 1 21:06:07 2012 (r229207) @@ -782,7 +782,7 @@ printsub(char direction, unsigned char * fprintf(NetTrace, "\" VAR " + noquote); } else #endif /* OLD_ENVIRON */ - fprintf(NetTrace, "\" VALUE " + noquote); + fprintf(NetTrace, "%s", "\" VALUE " + noquote); noquote = 2; break; @@ -798,17 +798,17 @@ printsub(char direction, unsigned char * fprintf(NetTrace, "\" VALUE " + noquote); } else #endif /* OLD_ENVIRON */ - fprintf(NetTrace, "\" VAR " + noquote); + fprintf(NetTrace, "%s", "\" VAR " + noquote); noquote = 2; break; case ENV_ESC: - fprintf(NetTrace, "\" ESC " + noquote); + fprintf(NetTrace, "%s", "\" ESC " + noquote); noquote = 2; break; case ENV_USERVAR: - fprintf(NetTrace, "\" USERVAR " + noquote); + fprintf(NetTrace, "%s", "\" USERVAR " + noquote); noquote = 2; break;