chiark / gitweb /
tmpfiles: fix bad memory access
[elogind.git] / src / tmpfiles.c
index f3c38a84339229c48eb68c61891934c0518283db..8cbce12dcd14e014b80995d6d6605ae309b4c100 100644 (file)
@@ -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 ||