You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
713 B
26 lines
713 B
11 years ago
|
From d80c94ead949e16053449ddf215a88a5e5e159e3 Mon Sep 17 00:00:00 2001
|
||
|
From: Alec Leamas <leamas.alec@gmail.com>
|
||
|
Date: Tue, 19 Aug 2014 19:21:25 +0200
|
||
|
Subject: [PATCH 4/4] lircd: fix compiler error=format-security error.
|
||
|
|
||
|
---
|
||
|
daemons/lircd.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/daemons/lircd.c b/daemons/lircd.c
|
||
|
index 7af4265..50fd9c6 100644
|
||
|
--- a/daemons/lircd.c
|
||
|
+++ b/daemons/lircd.c
|
||
|
@@ -2303,7 +2303,7 @@ int main(int argc, char **argv)
|
||
|
opt = options_getstring("lircd:listen_hostport");
|
||
|
if (opt){
|
||
|
if (opt2host_port(opt, &address, &port, errmsg) != 0){
|
||
|
- fprintf(stderr, errmsg);
|
||
|
+ printf(stderr, errmsg);
|
||
|
return(EXIT_FAILURE);
|
||
|
}
|
||
|
} else
|
||
|
--
|
||
|
1.8.4.2
|
||
|
|