diff --git a/checkpolicy/checkmodule.c b/checkpolicy/checkmodule.c index 418f77b7..53cc5a04 100644 --- a/checkpolicy/checkmodule.c +++ b/checkpolicy/checkmodule.c @@ -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);