From 9d329959321f0332acdc8abadcf38a0788ec694e Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Wed, 12 Aug 2015 15:17:03 +0200 Subject: [PATCH] posix: add PrintfFormat to syslog() Fixes bug 752031 (cherry picked from commit 0bdcc73af3af1144a03a24c3ebec9705572fa51b) --- vapi/posix.vapi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vapi/posix.vapi b/vapi/posix.vapi index 49311cf91..d24700dd1 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -1282,7 +1282,7 @@ namespace Posix { [CCode (cheader_filename = "syslog.h")] public int LOG_UPTO (int pri); - [CCode (cheader_filename = "syslog.h")] + [CCode (cheader_filename = "syslog.h"), PrintfFormat] public void syslog (int priority, string format, ... ); [CCode (cheader_filename = "syslog.h")] -- 2.47.2