[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH] mini-os: enable compiler check for printk format types
- To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
- From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
- Date: Tue, 7 Oct 2014 18:04:51 +0200
- Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Thomas Leonard <talex5@xxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>, David Scott <Dave.Scott@xxxxxxxxxxxxx>, Anil Madhavapeddy <anil@xxxxxxxxxx>
- Delivery-date: Tue, 07 Oct 2014 16:05:09 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
- Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>, Thomas Leonard <talex5@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Anil Madhavapeddy <anil@xxxxxxxxxx>, David Scott <Dave.Scott@xxxxxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Ian Campbell, le Mon 06 Oct 2014 14:28:50 +0100, a écrit :
> 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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|