git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Don't pass NULL to strcmp
[openafs.git]
/
src
/
bucoord
/
commands.c
diff --git
a/src/bucoord/commands.c
b/src/bucoord/commands.c
index
1cfdcc7
..
a091ba1
100644
(file)
--- a/
src/bucoord/commands.c
+++ b/
src/bucoord/commands.c
@@
-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;
}
}