Re: [PATCH] checkpolicy: Fix checkmodule output message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/16/2016 12:09 PM, Petr Lautrbach wrote:
> Originally checkmodule stated that it wrote to the input file instead of
> to the output file.

Thanks, applied.

> 
> Reported-By: Milos Malik <mmalik@xxxxxxxxxx>
> Signed-off-by: Petr Lautrbach <plautrba@xxxxxxxxxx>
> ---
>  checkpolicy/checkmodule.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/checkpolicy/checkmodule.c b/checkpolicy/checkmodule.c
> index 418f77b..53cc5a0 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);
> 

_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux