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