Don't pass NULL to strcmp
[openafs.git] / src / bucoord / commands.c
index 1cfdcc7..a091ba1 100644 (file)
@@ -307,7 +307,7 @@ EvalVolumeSet2(struct bc_config *aconfig,
                            if ((strcmp(&entries[e].name[l], ".backup") == 0)
                                || (strcmp(&entries[e].name[l], ".readonly")
                                    == 0)
-                               || (strcmp(&entries[e].name[l], NULL) == 0))
+                               || (strcmp(&entries[e].name[l], "") == 0))
                                add = 0;
                        }
                    }