diff --git a/src/core/hle/service/soc_u.cpp b/src/core/hle/service/soc_u.cpp
index 9fbf18b261a0808e7e504fd4bab61e63b5620a31..8e7abcf9c1734c6906e23d6d68e5af6d1df0ea82 100644
--- a/src/core/hle/service/soc_u.cpp
+++ b/src/core/hle/service/soc_u.cpp
@@ -404,7 +404,7 @@ static void Fcntl(Service::Interface* self) {
         }
 #endif
     } else {
-        LOG_ERROR(Service_SOC, "Unsupported command (%d) in fcntl call");
+        LOG_ERROR(Service_SOC, "Unsupported command (%d) in fcntl call", ctr_cmd);
         result = TranslateError(EINVAL); // TODO: Find the correct error
         posix_ret = -1;
         return;