chiark / gitweb /
Rename F_TYPE_CMP() to F_TYPE_EQUAL()
[elogind.git] / src / shared / util.c
index f23dd92a6b97ecdde00b2509c77ea9d517c8a732..ca9c2eb9d138486b0f6608226fd8d3137e5e8ba7 100644 (file)
@@ -2830,8 +2830,8 @@ int rm_rf_children_dangerous(int fd, bool only_dirs, bool honour_sticky, struct
 _pure_ static int is_temporary_fs(struct statfs *s) {
         assert(s);
         return
-                F_TYPE_CMP(s->f_type, TMPFS_MAGIC) ||
-                F_TYPE_CMP(s->f_type, RAMFS_MAGIC);
+                F_TYPE_EQUAL(s->f_type, TMPFS_MAGIC) ||
+                F_TYPE_EQUAL(s->f_type, RAMFS_MAGIC);
 }
 
 int rm_rf_children(int fd, bool only_dirs, bool honour_sticky, struct stat *root_dev) {