summaryrefslogtreecommitdiff
path: root/src/tmpfiles.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-22 18:19:24 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-22 18:22:26 +0100
commit1733ca5475786c31031626a68804b26019426ad8 (patch)
tree79ec2ccf9f9b6e887c26549240a298255d552dd9 /src/tmpfiles.c
parent1e5678d023ab57807d3de08e10304e36bf9a1950 (diff)
tmpfiles: fix bad memory access
Diffstat (limited to 'src/tmpfiles.c')
-rw-r--r--src/tmpfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles.c b/src/tmpfiles.c
index f3c38a8433..8cbce12dcd 100644
--- 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 ||