mirror of
https://github.com/topjohnwu/selinux.git
synced 2024-12-13 14:25:42 +00:00
fade75f1e2
We calculated a length, allocated a space for the string, then used snprintf to fill the array giving it a different length. Rather than doing all that math ourselves, just use asprintf and let libraries get it right. Signed-off-by: Eric Paris <eparis@redhat.com> |
||
---|---|---|
.. | ||
example | ||
include | ||
man | ||
src | ||
tests | ||
.gitignore | ||
ChangeLog | ||
COPYING | ||
Makefile | ||
VERSION |