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

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

 



Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxxxxx>
---
 src/libimaevm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 	}
-- 
2.44.0





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux