diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-10-21 17:44:27 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2015-10-21 17:44:27 -0400 |
commit | 9529c7886c0741847eeb85cf2b0e0730eebe4fa5 (patch) | |
tree | 67c47ad3799aaa914ce5c374b750fca019df5bb1 /usr | |
parent | 21b76f199e25d32b0a7ed3833ca9204898262c24 (diff) |
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 <linux@rasmusvillemoes.dk>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions