]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: add PrintfFormat to syslog()
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:17:03 +0000 (15:17 +0200)
Fixes bug 752031

vapi/posix.vapi

index f204eaa9f0f3bfc4f2f97a262734c5a4f4d18ec7..fee343e047c2adbe387a3dcfb3877626f03d8128 100644 (file)
@@ -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")]