]> git.proxmox.com Git - pve-qemu.git/commit
Add format attributes to function candidates
authorFilip Schauer <f.schauer@proxmox.com>
Mon, 7 Aug 2023 13:19:42 +0000 (15:19 +0200)
committerFiona Ebner <f.ebner@proxmox.com>
Tue, 8 Aug 2023 07:08:48 +0000 (09:08 +0200)
commitb8b4ce04809a78bc5d36443999197a49d18b8b1e
tree37603188330d2efd3664b88e0b6b21d856f6259c
parentdf47146afe864ad111a90b9dcc4d02622412dfce
Add format attributes to function candidates

Add format attributes to functions that take printf-like arguments. This
provides additional compile-time checking that the correct parameters
are passed to the functions.

This fixes compiler warnings generated by the -Wsuggest-attribute=format
flag.

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
debian/patches/pve/0017-PVE-add-savevm-async-for-background-state-snapshots.patch
debian/patches/pve/0027-PVE-Backup-add-vma-backup-format-code.patch