diff options
author | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2019-04-08 17:40:40 +1000 |
---|---|---|
committer | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2019-04-08 17:47:26 +1000 |
commit | 648a5dfc291738f655fa903f2e5f6899817e8126 (patch) | |
tree | 0c24bc4f9df19ca759a70d9d09e8ea89aee6a87b | |
parent | 5f60d7a17e00ed1fb7c953f03603fcc294a7b9c7 (diff) |
Fix build issue with incorrect formatting specifierguppy_7.0.1guppy/7.0.17.0.1
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
-rw-r--r-- | src/avirt-config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/avirt-config.c b/src/avirt-config.c index 7d20ffd..c6cf483 100644 --- a/src/avirt-config.c +++ b/src/avirt-config.c @@ -534,10 +534,10 @@ int snd_avirt_route_new(const char *name, int channels, int direction, WRITE_ATTR_TO_DIR(path, "channels", "%d", channels); // Write route_sink_ap into route_source_ap's 'sink' path - WRITE_ATTR_TO_DIR(path, "sink_ap", sink_ap); + WRITE_ATTR_TO_DIR(path, "sink_ap", "%s", sink_ap); // Write route_source_ap into route_sink_ap's 'source' path - WRITE_ATTR_TO_DIR(path, "source_ap", source_ap); + WRITE_ATTR_TO_DIR(path, "source_ap", "%s", source_ap); CHK_ERR(snd_avirt_stream_new(name, channels, !direction, source_ap, true), "Couldn't create stream: %s", name); |