checkpolicy: Fix checkmodule output message
Originally checkmodule stated that it wrote to the input file instead of to the output file. Reported-By: Milos Malik <mmalik@redhat.com> Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
This commit is contained in:
parent
3fcda02a93
commit
b5f9debdb2
|
@ -314,7 +314,7 @@ int main(int argc, char **argv)
|
|||
|
||||
if (!cil) {
|
||||
printf("%s: writing binary representation (version %d) to %s\n",
|
||||
argv[0], policyvers, file);
|
||||
argv[0], policyvers, outfile);
|
||||
|
||||
if (write_binary_policy(&modpolicydb, outfp) != 0) {
|
||||
fprintf(stderr, "%s: error writing %s\n", argv[0], outfile);
|
||||
|
|
Loading…
Reference in New Issue