mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-27 10:25:06 +03:00
bus-util: use _printf_ attribute
Follow-up for eda193578e
.
Fixes oss-fuzz#10350.
This commit is contained in:
parent
10ce2e0681
commit
72a4d9f96c
@ -65,7 +65,7 @@ int bus_connect_transport_systemd(BusTransport transport, const char *host, bool
|
||||
|
||||
typedef int (*bus_message_print_t) (const char *name, const char *expected_value, sd_bus_message *m, bool value, bool all);
|
||||
|
||||
int bus_print_property_value(const char *name, const char *expected_value, bool only_value, const char *fmt, ...);
|
||||
int bus_print_property_value(const char *name, const char *expected_value, bool only_value, const char *fmt, ...) _printf_(4,5);
|
||||
int bus_message_print_all_properties(sd_bus_message *m, bus_message_print_t func, char **filter, bool value, bool all, Set **found_properties);
|
||||
int bus_print_all_properties(sd_bus *bus, const char *dest, const char *path, bus_message_print_t func, char **filter, bool value, bool all, Set **found_properties);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user