diff mbox

[3/3] libsepol/cil: use a colon instead of a semicolon to report rc

Message ID 20180609193031.2728-3-nicolas.iooss@m4x.org (mailing list archive)
State Not Applicable
Headers show

Commit Message

Nicolas Iooss June 9, 2018, 7:30 p.m. UTC
Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
---
 libsepol/cil/src/cil_resolve_ast.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Smalley June 15, 2018, 1:06 p.m. UTC | #1
On 06/09/2018 03:30 PM, Nicolas Iooss wrote:
> Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>

Thanks, applied all three.

> ---
>  libsepol/cil/src/cil_resolve_ast.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libsepol/cil/src/cil_resolve_ast.c b/libsepol/cil/src/cil_resolve_ast.c
> index 02259241ddfe..fb9d91745629 100644
> --- a/libsepol/cil/src/cil_resolve_ast.c
> +++ b/libsepol/cil/src/cil_resolve_ast.c
> @@ -2923,7 +2923,7 @@ int cil_resolve_call1(struct cil_tree_node *current, void *extra_args)
>  
>  					rc = cil_fill_ipaddr(pc->cl_head, ipaddr);
>  					if (rc != SEPOL_OK) {
> -						cil_log(CIL_ERR, "Failed to create anonymous ip address, rc; %d\n", rc);
> +						cil_log(CIL_ERR, "Failed to create anonymous ip address, rc: %d\n", rc);
>  						cil_destroy_ipaddr(ipaddr);
>  						goto exit;
>  					}
>
diff mbox

Patch

diff --git a/libsepol/cil/src/cil_resolve_ast.c b/libsepol/cil/src/cil_resolve_ast.c
index 02259241ddfe..fb9d91745629 100644
--- a/libsepol/cil/src/cil_resolve_ast.c
+++ b/libsepol/cil/src/cil_resolve_ast.c
@@ -2923,7 +2923,7 @@  int cil_resolve_call1(struct cil_tree_node *current, void *extra_args)
 
 					rc = cil_fill_ipaddr(pc->cl_head, ipaddr);
 					if (rc != SEPOL_OK) {
-						cil_log(CIL_ERR, "Failed to create anonymous ip address, rc; %d\n", rc);
+						cil_log(CIL_ERR, "Failed to create anonymous ip address, rc: %d\n", rc);
 						cil_destroy_ipaddr(ipaddr);
 						goto exit;
 					}