commit | 2907caa33cbb722ecf423aa47e43f4f5053c2723 | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <nicolas.iooss@m4x.org> | Tue Nov 22 23:23:42 2016 +0100 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Wed Nov 23 12:31:55 2016 -0500 |
tree | 23663ba9167970a5625a08d17cf8ad106ec1601c | |
parent | d10725649ecdc522506e8c4f640e6118502f66f0 [diff] |
libsepol: fix unknown magic section number error message When running hll/pp on some invalid policy module, it can output: libsepol.sepol_module_package_read: unknown magic number at section 1, offset: 251, number: 0x The last number looks funny and was caused by using "%ux". "u" is not a prefix like "l", "h", "z"... and "%x" already expects an unsigned integer (cf. http://man7.org/linux/man-pages/man3/printf.3.html). Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>