From owner-svn-src-head@freebsd.org Fri Jan 1 17:30:23 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41F80A5E3D7; Fri, 1 Jan 2016 17:30:23 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-yk0-f171.google.com (mail-yk0-f171.google.com [209.85.160.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0DB44133C; Fri, 1 Jan 2016 17:30:22 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-yk0-f171.google.com with SMTP id x67so199735518ykd.2; Fri, 01 Jan 2016 09:30:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=XksIpdFWjfs5TOtXdg/XnTPFQBJzz9G8lTwfFoZh2HQ=; b=jg+SJ8k8PbHszOnjQ4J5XLvftAiHAnBftmRDysQQwnKgn2POu70aOBIjQna9RJi6JJ P6J4zH5O/WYsicaTcxCC52LEQHXYftxdrgp80+9UL4sc7UwgPRaHQHRNN2cMGqCl28uy v7eK5dM7YDbC1zUDlX27Ex82R/cBIl7GkYrSrmEEEgZh1eAqwCbsUgkv84BfB5/wvhuH 5Et0g/kkJSTK3i9pyszuf+bO1GyjaHTwJHuSQpIE7VnV5G01Zr8Ajo7yYICqVc3/GhOM Tu+WXhSipD0V7lBnPt34g8BQXs43Rwn9i+mlluD+6tSpslSKN98b3L3cGst5CcZ2w8/s SGeQ== X-Received: by 10.129.116.213 with SMTP id p204mr47047110ywc.322.1451668978472; Fri, 01 Jan 2016 09:22:58 -0800 (PST) Received: from mail-yk0-f178.google.com (mail-yk0-f178.google.com. [209.85.160.178]) by smtp.gmail.com with ESMTPSA id g66sm65588698ywd.56.2016.01.01.09.22.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jan 2016 09:22:58 -0800 (PST) Received: by mail-yk0-f178.google.com with SMTP id a85so123257870ykb.1; Fri, 01 Jan 2016 09:22:57 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.13.232.83 with SMTP id r80mr54889036ywe.237.1451668977733; Fri, 01 Jan 2016 09:22:57 -0800 (PST) Reply-To: cem@FreeBSD.org Received: by 10.37.4.69 with HTTP; Fri, 1 Jan 2016 09:22:57 -0800 (PST) In-Reply-To: <201601011517.u01FHOCo079299@repo.freebsd.org> References: <201601011517.u01FHOCo079299@repo.freebsd.org> Date: Fri, 1 Jan 2016 09:22:57 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r293039 - in head/sys/dev: sec tsec From: Conrad Meyer To: Justin Hibbits Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 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, 01 Jan 2016 17:30:23 -0000 On Fri, Jan 1, 2016 at 7:17 AM, Justin Hibbits wrote: > Author: jhibbits > Date: Fri Jan 1 15:17:24 2016 > New Revision: 293039 > URL: https://svnweb.freebsd.org/changeset/base/293039 > > Log: > Fix a couple printf formats. > > ... > @@ -235,7 +236,7 @@ sec_probe(device_t dev) > sc->sc_version = 3; > break; > default: > - device_printf(dev, "unknown SEC ID 0x%016llx!\n", id); > + device_printf(dev, "unknown SEC ID 0x%16"PRIx64"!\n", id); > return (ENXIO); > } Hi, The 0 got dropped, which makes this a slightly different format. The zero is ignored if a precision is given, but the 16 in the format string represents a field width. (Either "%016" or "%.16" should print the same as the original, I think.) Best, Conrad