diff mbox series

[ima-evm-utils] Add missing newline to error message

Message ID 20240301141954.358972-1-stefanb@linux.ibm.com (mailing list archive)
State New
Headers show
Series [ima-evm-utils] Add missing newline to error message | expand

Commit Message

Stefan Berger March 1, 2024, 2:19 p.m. UTC
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
---
 src/libimaevm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/libimaevm.c b/src/libimaevm.c
index 89330c4..f1dcb2d 100644
--- a/src/libimaevm.c
+++ b/src/libimaevm.c
@@ -227,7 +227,7 @@  int ima_calc_hash2(const char *file, const char *hash_algo, uint8_t *hash)
 		err = add_file_hash(file, pctx);
 		break;
 	default:
-		log_err("Unsupported file type (0x%x)", st.st_mode & S_IFMT);
+		log_err("Unsupported file type (0x%x)\n", st.st_mode & S_IFMT);
 		err = -1;
 		goto err;
 	}