diff options
author | Vesa-Matti J Kari <vmkari@cc.helsinki.fi> | 2008-07-20 23:57:01 +0300 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-08-05 10:55:30 +1000 |
commit | df4ea865f09580b1cad621c0426612f598847815 (patch) | |
tree | 57c7e7cc2cb1e4144f1a101a8bc93f74d4b64db9 /security/selinux/ss/conditional.c | |
parent | 3583a71183a02c51ca71cd180e9189cfb0411cc1 (diff) |
SELinux: Trivial minor fixes that change C null character style
Trivial minor fixes that change C null character style.
Signed-off-by: Vesa-Matti Kari <vmkari@cc.helsinki.fi>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/ss/conditional.c')
-rw-r--r-- | security/selinux/ss/conditional.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/conditional.c b/security/selinux/ss/conditional.c index fb4efe4f4bc8..f8c850a56ed1 100644 --- a/security/selinux/ss/conditional.c +++ b/security/selinux/ss/conditional.c @@ -239,7 +239,7 @@ int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp) rc = next_entry(key, fp, len); if (rc < 0) goto err; - key[len] = 0; + key[len] = '\0'; if (hashtab_insert(h, key, booldatum)) goto err; |