chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e5678d
)
tmpfiles: fix bad memory access
author
Lennart Poettering
<lennart@poettering.net>
Sun, 22 Jan 2012 17:19:24 +0000
(18:19 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Sun, 22 Jan 2012 17:22:26 +0000
(18:22 +0100)
src/tmpfiles.c
patch
|
blob
|
history
diff --git
a/src/tmpfiles.c
b/src/tmpfiles.c
index f3c38a84339229c48eb68c61891934c0518283db..8cbce12dcd14e014b80995d6d6605ae309b4c100 100644
(file)
--- a/
src/tmpfiles.c
+++ b/
src/tmpfiles.c
@@
-893,7
+893,7
@@
static bool item_equal(Item *a, Item *b) {
a->type == TRUNCATE_FILE ||
a->type == WRITE_FILE ||
a->type == CREATE_SYMLINK) &&
- !streq(a->argument, b->argument))
+ !streq
_ptr
(a->argument, b->argument))
return false;
if ((a->type == CREATE_CHAR_DEVICE ||