From 48e212bba821e7771c9a4dc6e8a58259d8fb938d Mon Sep 17 00:00:00 2001
From: Maxim Menshikov <maxim.menshikov@iopsys.eu>
Date: Tue, 26 Jul 2022 15:47:20 +0300
Subject: [PATCH] qosmngr: disable checks for literal format

---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 2a59058..4847d40 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,9 @@ PROG_CFLAGS = $(CFLAGS) -I$(INCLUDE_DIR) $(DIAG_CFLAGS) -Werror -fstrict-aliasin
 PROG_LDFLAGS = $(LDFLAGS)
 PROG_LIBS = $(COMMON_LDFLAGS) -lgcov
 
+# MUSL has the following issue in snprintf, so it is ignored:
+PROG_CFLAGS += -Wno-format-nonliteral
+
 .PHONY: all clean
 
 all: version $(PROG)
-- 
GitLab