chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mac: also rename use_{smack,selinux,apparmor}() calls so that they share the new...
[elogind.git]
/
src
/
journal
/
test-journal-syslog.c
diff --git
a/src/journal/test-journal-syslog.c
b/src/journal/test-journal-syslog.c
index b9419372adb042e4cf2435b52951ade12bd03e09..c4d407148c8d2a8e9496e09262fcb02ca2bf23d8 100644
(file)
--- 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);
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) {
}
int main(void) {