git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
security
/
selinux
/
ss
/
conditional.c
diff --git
a/security/selinux/ss/conditional.c
b/security/selinux/ss/conditional.c
index
6888546
..
f8958ba
100644
(file)
--- a/
security/selinux/ss/conditional.c
+++ b/
security/selinux/ss/conditional.c
@@
-217,7
+217,7
@@
int bool_isvalid(struct cond_bool_datum *b)
int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp)
{
int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp)
{
- char *key =
0
;
+ char *key =
NULL
;
struct cond_bool_datum *booldatum;
__u32 *buf, len;
struct cond_bool_datum *booldatum;
__u32 *buf, len;
@@
-251,7
+251,7
@@
int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp)
return 0;
err:
return 0;
err:
- cond_destroy_bool(key, booldatum,
0
);
+ cond_destroy_bool(key, booldatum,
NULL
);
return -1;
}
return -1;
}