diff options
Diffstat (limited to 'src/journal/test-journal-syslog.c')
-rw-r--r-- | src/journal/test-journal-syslog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/test-journal-syslog.c b/src/journal/test-journal-syslog.c index b9419372ad..c4d407148c 100644 --- a/src/journal/test-journal-syslog.c +++ b/src/journal/test-journal-syslog.c @@ -31,8 +31,8 @@ static void test_syslog_parse_identifier(const char* str, ret2 = syslog_parse_identifier(&buf, &ident2, &pid2); assert(ret == ret2); - assert(ident==ident2 || streq(ident, ident2)); - assert(pid==pid2 || streq(pid, pid2)); + assert(ident == ident2 || streq_ptr(ident, ident2)); + assert(pid == pid2 || streq_ptr(pid, pid2)); } int main(void) { |