This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch to support 'z' qualifiers in format strings


The jffs2 sources use the 'z' qualifier in many calls to 'printk', which is
#define'd to 'diag_printf'.  Rather than changing the jffs2 sources, I
added the 'z' qualifier to 'diag.cxx'.

FYI, the 'z' qualifier indicates that the value is the same size as a
'size_t' value.  I've attached  the patch.

Michael Checky
(See attached file: diag.pat)

Attachment: diag.pat
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]