]> git.proxmox.com Git - pve-cluster.git/commitdiff
cleanup format strings for cfs_* messages
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 24 May 2016 13:55:53 +0000 (15:55 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 30 Jun 2016 15:01:39 +0000 (17:01 +0200)
This does not change semantics on our current target platform
(x86_64) but is needed for porting it to other platforms.

The GCC on ARM, for example, complains about them.

For all:
* size_t use "%z*"
* off_t use "%j*"
* uint64_t use "PRI*64"

where * may be one of (X,d,u).

Also cast guint64 to uint64_t to allow use of a general, portable
format which also supports hex output as the GUINT64_FORMAT allows
decimal output only.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Cc: mir@datanom.net

No differences found