From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Re: [PATCH] mini-os: enable compiler check for printk format types Date: Tue, 7 Oct 2014 18:04:51 +0200 Message-ID: <20141007160451.GB2983@type> References: <1407318240-1799-1-git-send-email-talex5@gmail.com> <20140807145509.GK3426@type.youpi.perso.aquilenet.fr> <20140808143207.GA18842@type.bordeaux.inria.fr> <1412326515.423.11.camel@citrix.com> <20141005193018.GP5718@type> <1412602130.14255.8.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XbXG2-0002Um-Oi for xen-devel@lists.xenproject.org; Tue, 07 Oct 2014 16:05:02 +0000 Content-Disposition: inline In-Reply-To: <1412602130.14255.8.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "xen-devel@lists.xenproject.org" , Thomas Leonard , Stefano Stabellini , David Scott , Anil Madhavapeddy List-Id: xen-devel@lists.xenproject.org Ian Campbell, le Mon 06 Oct 2014 14:28:50 +0100, a =E9crit : > Looks like this is printing the output of sizeof. The correct modifier > for printing a size_t is %zu not hardcoded as a long. I haven't checked > if mini-os printf supports z. Yes it does, so it can be used. Samuel