Merge pull request #26220 from 78andyp/blurayfixes
[xbmc.git] / lib / libUPnP / patches / 0046-platinum-fix-format-security-warning.patch
blob07cd53e3a8e0f0a730f8e0bd497b72d0ad17bc68
1 From 75dca8c816de2d65aee5117876b3c7110ad4cd47 Mon Sep 17 00:00:00 2001
2 From: Rechi <Rechi@users.noreply.github.com>
3 Date: Wed, 3 Jan 2018 10:31:43 +0100
4 Subject: [PATCH] [libUPnP][platinum] fix format-security warning
6 ---
7 lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaServer.cpp | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaServer.cpp b/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaServer.cpp
11 index 0a43dab603..feeb537648 100644
12 --- a/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaServer.cpp
13 +++ b/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaServer.cpp
14 @@ -631,7 +631,7 @@ args:
15 msg = "Invalid args";
17 failure:
18 - NPT_LOG_WARNING(msg);
19 + NPT_LOG_WARNING_1("%s", msg);
20 action->SetError(err, msg);
21 return NPT_FAILURE;