diff options
-rw-r--r-- | meson.build | 1 | ||||
-rw-r--r-- | src/examples/bluez-monitor.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build index aa60db35..1db42621 100644 --- a/meson.build +++ b/meson.build @@ -46,6 +46,7 @@ if cc.get_id() == 'gcc' '-Wsign-compare', '-Wimplicit-fallthrough', '-Wpointer-arith', + '-Wformat-security', # '-DFASTPATH', language : 'c') endif diff --git a/src/examples/bluez-monitor.c b/src/examples/bluez-monitor.c index 74771ae3..0c273e86 100644 --- a/src/examples/bluez-monitor.c +++ b/src/examples/bluez-monitor.c @@ -123,7 +123,7 @@ static struct bluez5_node *bluez5_create_node(struct bluez5_object *obj, uint32_ pw_properties_setf(node->props, PW_KEY_NODE_NAME, "%s.%s", info->factory_name, str); pw_properties_set(node->props, PW_KEY_NODE_DESCRIPTION, str); - pw_properties_setf(node->props, "factory.name", info->factory_name); + pw_properties_set(node->props, "factory.name", info->factory_name); node->monitor = monitor; node->object = obj; |