From owner-svn-src-all@FreeBSD.ORG Mon Sep 14 15:53:30 2009 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 C9E31106568B; Mon, 14 Sep 2009 15:53:30 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B7CAF8FC13; Mon, 14 Sep 2009 15:53:30 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n8EFrUI5059138; Mon, 14 Sep 2009 15:53:30 GMT (envelope-from rpaulo@svn.freebsd.org) Received: (from rpaulo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n8EFrU1q059137; Mon, 14 Sep 2009 15:53:30 GMT (envelope-from rpaulo@svn.freebsd.org) Message-Id: <200909141553.n8EFrU1q059137@svn.freebsd.org> From: Rui Paulo Date: Mon, 14 Sep 2009 15:53:30 +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: r197193 - head/sys/dev/asmc 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: Mon, 14 Sep 2009 15:53:30 -0000 Author: rpaulo Date: Mon Sep 14 15:53:30 2009 New Revision: 197193 URL: http://svn.freebsd.org/changeset/base/197193 Log: Fix printf format string in asmc_key_dump(). Spotted by: tinderbox MFC after: 1 week Modified: head/sys/dev/asmc/asmc.c Modified: head/sys/dev/asmc/asmc.c ============================================================================== --- head/sys/dev/asmc/asmc.c Mon Sep 14 15:16:17 2009 (r197192) +++ head/sys/dev/asmc/asmc.c Mon Sep 14 15:53:30 2009 (r197193) @@ -824,7 +824,7 @@ out: type[5] = 0; if (maxlen > sizeof(v)) { device_printf(dev, "WARNING: cropping maxlen " - "from %d to %lud\n", maxlen, sizeof(v)); + "from %u to %u\n", maxlen, sizeof(v)); maxlen = sizeof(v); } for (i = 0; i < sizeof(v); i++) {