summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mount.c b/src/core/mount.c
index 214b46f670..e2c480a51d 100644
--- a/src/core/mount.c
+++ b/src/core/mount.c
@@ -494,7 +494,7 @@ static int mount_add_default_dependencies(Mount *m) {
return r;
/* If this is a tmpfs mount then we have to unmount it before we try to deactivate swaps */
- if (streq(p->fstype, "tmpfs")) {
+ if (streq_ptr(p->fstype, "tmpfs")) {
r = unit_add_dependency_by_name(UNIT(m), UNIT_AFTER, SPECIAL_SWAP_TARGET, NULL, true, mask);
if (r < 0)
return r;