SDL_mixer: cmake: fix check for vfork()

From 2385a504cee8aaffba5799380e512895d30fd578 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 20 Jul 2022 02:03:32 +0300
Subject: [PATCH] cmake: fix check for vfork()

---
 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2edaa4a8..5b222848 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -301,14 +301,14 @@ if(SDL2MIXER_CMD)
         endif()
     endif()
     if(NOT fork_found)
-        check_symbol_exists(fork unistd.h HAVE_VFORK)
+        check_symbol_exists(vfork unistd.h HAVE_VFORK)
         if(HAVE_VFORK)
             set(fork_found ON)
             target_compile_definitions(SDL2_mixer PRIVATE HAVE_VFORK)
         endif()
     endif()
     if(NOT fork_found)
-        message(FATAL_ERROR "Neither fork() or vfork() or available on this platform. Reconfigure with -DSDL2MIXER_CMD=OFF.")
+        message(FATAL_ERROR "Neither fork() nor vfork() or available on this platform. Reconfigure with -DSDL2MIXER_CMD=OFF.")
     endif()
 endif()