/[packages]/cauldron/connman/current/SOURCES/connman-1.14-strfmt.patch
ViewVC logotype

Contents of /cauldron/connman/current/SOURCES/connman-1.14-strfmt.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 428130 - (show annotations) (download)
Sun May 26 14:59:49 2013 UTC (10 years, 10 months ago) by blino
File size: 590 byte(s)
cherry-pick string format patch
1 From 1ea2216d285f36a7cd42db863b1c291d465678e6 Mon Sep 17 00:00:00 2001
2 From: Justin Maggard <jmaggard10@gmail.com>
3 Date: Tue, 07 May 2013 22:34:42 +0000
4 Subject: Fix gcc compiler warning with -Wformat-security.
5
6 Cosmetic fix.
7 ---
8 (limited to 'client/agent.c')
9
10 diff --git a/client/agent.c b/client/agent.c
11 index 921f2fc..5fe695f 100644
12 --- a/client/agent.c
13 +++ b/client/agent.c
14 @@ -112,7 +112,7 @@ static void pending_command_complete(char *message)
15 {
16 __connmanctl_save_rl();
17
18 - fprintf(stdout, message);
19 + fprintf(stdout, "%s", message);
20
21 __connmanctl_redraw_rl();
22
23 --
24 cgit v0.9.1

  ViewVC Help
Powered by ViewVC 1.1.30