summaryrefslogtreecommitdiff
path: root/src/journal/sd-journal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-12-17 01:32:49 +0100
committerLennart Poettering <lennart@poettering.net>2011-12-17 01:32:49 +0100
commitd0bbc21caa6e68693a47db60c93e99422bf2a858 (patch)
tree7fb96cbcc2d59873397de8d90a1b3f2f8b637721 /src/journal/sd-journal.h
parentcab8ac60837b489b27a247990f741315c71cb389 (diff)
journal: introduce mandatory sd_journal_printf() priority parameter
Diffstat (limited to 'src/journal/sd-journal.h')
-rw-r--r--src/journal/sd-journal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/sd-journal.h b/src/journal/sd-journal.h
index b167dcf097..05a929d910 100644
--- a/src/journal/sd-journal.h
+++ b/src/journal/sd-journal.h
@@ -45,8 +45,8 @@
/* Write to daemon */
-int sd_journal_print(const char *format, ...) __attribute__ ((format (printf, 1, 2)));
-int sd_journal_printv(const char *format, va_list ap);
+int sd_journal_print(int piority, const char *format, ...) __attribute__ ((format (printf, 2, 3)));
+int sd_journal_printv(int priority, const char *format, va_list ap);
int sd_journal_send(const char *format, ...) __attribute__((sentinel));
int sd_journal_sendv(const struct iovec *iov, int n);