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