From 6484f76064e390ea9fe102b7f930b4cdcf71f182 Mon Sep 17 00:00:00 2001 From: Micah Snyder Date: Wed, 27 Mar 2024 15:32:07 -0400 Subject: [PATCH] Review fix: typo --- libclamav_rust/src/scanners.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libclamav_rust/src/scanners.rs b/libclamav_rust/src/scanners.rs index a29dd20548..90767e2f93 100644 --- a/libclamav_rust/src/scanners.rs +++ b/libclamav_rust/src/scanners.rs @@ -213,7 +213,7 @@ pub unsafe extern "C" fn scan_lha_lzh(ctx: *mut cli_ctx) -> cl_error_t { // Error checking CRC. // Use debug-level because may not actually be an LHA/LZH archive. // LHA/LZH does not have particularly identifiable magic bytes. - debug!("An error occured when checking the CRC of this LHA or LZH archive: {err}"); + debug!("An error occurred when checking the CRC of this LHA or LZH archive: {err}"); // break; } } @@ -287,7 +287,7 @@ pub unsafe extern "C" fn scan_lha_lzh(ctx: *mut cli_ctx) -> cl_error_t { // Error getting the next file. // Use debug-level because may not actually be an LHA/LZH archive. // LHA/LZH does not have particularly identifiable magic bytes. - debug!("An error occured when checking for the next file in this LHA or LZH archive: {err}"); + debug!("An error occurred when checking for the next file in this LHA or LZH archive: {err}"); break; } }