summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@kernel.org>2018-01-11 13:46:07 +0000
committerShuah Khan <shuahkh@osg.samsung.com>2018-01-12 11:41:33 -0700
commit2519c35fac12f7e17ed79b1e01aa6edc161823af (patch)
treeb531f412814390491c37a38f06693cfcc5e7ba4e
parent4c1baad223906943b595a887305f2e8124821dad (diff)
downloadlinux-stable-2519c35fac12f7e17ed79b1e01aa6edc161823af.tar.gz
linux-stable-2519c35fac12f7e17ed79b1e01aa6edc161823af.tar.bz2
linux-stable-2519c35fac12f7e17ed79b1e01aa6edc161823af.zip
tools/testing: Fix trailing semicolon
The trailing semicolon is an empty statement that does no operation. Removing it since it doesn't do anything. Signed-off-by: Luis de Bethencourt <luisbg@kernel.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
-rw-r--r--tools/testing/selftests/nsfs/pidns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/nsfs/pidns.c b/tools/testing/selftests/nsfs/pidns.c
index 1182d4e437a2..e0d86e1668c0 100644
--- a/tools/testing/selftests/nsfs/pidns.c
+++ b/tools/testing/selftests/nsfs/pidns.c
@@ -70,7 +70,7 @@ int main(int argc, char *argv[])
return pr_err("NS_GET_PARENT returned a wrong namespace");
if (ioctl(pns, NS_GET_PARENT) >= 0 || errno != EPERM)
- return pr_err("Don't get EPERM");;
+ return pr_err("Don't get EPERM");
}
kill(pid, SIGKILL);