diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-07-31 16:09:01 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-08-01 19:53:23 +0200 |
commit | 18c7ed186be28800a2eeb37ad31c9c44480d3d9c (patch) | |
tree | 71d39423e738bcd866aff16269ea925c3c7eab17 /src/journal/test-journal-send.c | |
parent | 4d9909c93e9c58789c71b34555a1908307c6849e (diff) |
journal: add sd_journal_perror() to API
Diffstat (limited to 'src/journal/test-journal-send.c')
-rw-r--r-- | src/journal/test-journal-send.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/journal/test-journal-send.c b/src/journal/test-journal-send.c index 9d376d1e56..e708fa4406 100644 --- a/src/journal/test-journal-send.c +++ b/src/journal/test-journal-send.c @@ -32,5 +32,10 @@ int main(int argc, char *argv[]) { "VALUE=%i", 7, NULL); + errno = ENOENT; + sd_journal_perror("Foobar"); + + sd_journal_perror(""); + return 0; } |