diff options
| author | Rasmus Villemoes <[email protected]> | 2015-10-21 21:44:27 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2015-10-21 21:44:27 +0000 |
| commit | 9529c7886c0741847eeb85cf2b0e0730eebe4fa5 (patch) | |
| tree | 67c47ad3799aaa914ce5c374b750fca019df5bb1 /security/selinux/hooks.c | |
| parent | selinux: use kstrdup() in security_get_bools() (diff) | |
| download | kernel-9529c7886c0741847eeb85cf2b0e0730eebe4fa5.tar.gz kernel-9529c7886c0741847eeb85cf2b0e0730eebe4fa5.zip | |
selinux: use sprintf return value
sprintf returns the number of characters printed (excluding '\0'), so
we can use that and avoid duplicating the length computation.
Signed-off-by: Rasmus Villemoes <[email protected]>
Acked-by: Stephen Smalley <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
