[vala] posix: add PrintfFormat to syslog()



commit 0bdcc73af3af1144a03a24c3ebec9705572fa51b
Author: Luca Bruno <lucabru src gnome org>
Date:   Wed Aug 12 15:17:03 2015 +0200

    posix: add PrintfFormat to syslog()
    
    Fixes bug 752031

 vapi/posix.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index f204eaa..fee343e 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1331,7 +1331,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")]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]