[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200402065216.23301-1-zhijianx.li@intel.com>
Date: Thu, 2 Apr 2020 14:52:16 +0800
From: Li Zhijian <zhijianx.li@...el.com>
To: shuah@...nel.org, linux-kselftest@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, matthieu.baerts@...sares.net,
Li Zhijian <lizhijian@...fujitsu.com>
Subject: [PATCH] selftests:mptcp: fix empty optstring
From: Li Zhijian <lizhijian@...fujitsu.com>
Signed-off-by: Li Zhijian <lizhijian@...fujitsu.com>
---
tools/testing/selftests/net/mptcp/pm_netlink.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/testing/selftests/net/mptcp/pm_netlink.sh b/tools/testing/selftests/net/mptcp/pm_netlink.sh
index 9172746b6cf0..8c7998c64d9e 100755
--- a/tools/testing/selftests/net/mptcp/pm_netlink.sh
+++ b/tools/testing/selftests/net/mptcp/pm_netlink.sh
@@ -8,8 +8,7 @@ usage() {
echo "Usage: $0 [ -h ]"
}
-
-while getopts "$optstring" option;do
+while getopts "h" option;do
case "$option" in
"h")
usage $0
--
2.17.1
Powered by blists - more mailing lists