Use #if for ENABLE_AF_ALG.

This commit is contained in:
Milan Broz
2025-01-16 12:28:54 +01:00
parent c21c746eff
commit ff81791308
6 changed files with 8 additions and 8 deletions

View File

@@ -1319,7 +1319,7 @@ static int action_benchmark(void)
if (r == -ENOTSUP) {
log_err(_("Required kernel crypto interface not available."));
#ifdef ENABLE_AF_ALG
#if ENABLE_AF_ALG
log_err( _("Ensure you have algif_skcipher kernel module loaded."));
#endif
}