]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: add PrintfFormat to syslog() 0.28
authorLuca Bruno <lucabru@src.gnome.org>
Wed, 12 Aug 2015 13:17:03 +0000 (15:17 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Wed, 12 Aug 2015 13:18:21 +0000 (15:18 +0200)
Fixes bug 752031

(cherry picked from commit 0bdcc73af3af1144a03a24c3ebec9705572fa51b)

vapi/posix.vapi

index 49311cf91ba501d47b1efbb20a1e6af86df75e23..d24700dd173a47e7d55293b66b5ea4439b10f875 100644 (file)
@@ -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")]