commit | 9529c7886c0741847eeb85cf2b0e0730eebe4fa5 | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | Wed Oct 21 17:44:27 2015 -0400 |
committer | Paul Moore <pmoore@redhat.com> | Wed Oct 21 17:44:27 2015 -0400 |
tree | 67c47ad3799aaa914ce5c374b750fca019df5bb1 | |
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>