From 658e74cc759db6fb6d51d5287749cff1cfd2a0a2 Mon Sep 17 00:00:00 2001
From: Fu Juntang <StrongTiger_001@163.com>
Date: 星期六, 04 九月 2021 10:48:31 +0800
Subject: [PATCH] Add strict parameters checks to avoid the invalid inputs.

---
 test/futex_demo.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/test/futex_demo.cpp b/test/futex_demo.cpp
index d6887e8..2899862 100644
--- a/test/futex_demo.cpp
+++ b/test/futex_demo.cpp
@@ -19,11 +19,12 @@
 #include <sys/syscall.h>
 #include <linux/futex.h>
 #include <sys/time.h>
-#include "usg_common.h"
 #include <sys/mman.h>
 #include <sys/stat.h>        /* For mode constants */
 #include <fcntl.h>           /* For O_* constants */
 
+#include "usg_common.h"
+
 
 #define errExit(msg)    do { perror(msg); exit(EXIT_FAILURE); \
 } while (0)

--
Gitblit v1.8.0