Skip to contentSkip to conversation

Add missing newline to error message

PATCH New Stefan Berger 1 participant 1 message Mar 1, 2024 Keys-trusted

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing newline to error message

---
 src/libimaevm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/libimaevm.c +1 -1
index 89330c4..f1dcb2d 100644
@@ -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;
 	}
Signature · 1 line
2.44.0