aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@kernel.org>2018-01-11 08:46:07 -0500
committerShuah Khan <shuahkh@osg.samsung.com>2018-01-12 13:41:33 -0500
commit2519c35fac12f7e17ed79b1e01aa6edc161823af (patch)
treeb531f412814390491c37a38f06693cfcc5e7ba4e /tools
parent4c1baad223906943b595a887305f2e8124821dad (diff)
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>
Diffstat (limited to 'tools')
-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[])
70 return pr_err("NS_GET_PARENT returned a wrong namespace"); 70 return pr_err("NS_GET_PARENT returned a wrong namespace");
71 71
72 if (ioctl(pns, NS_GET_PARENT) >= 0 || errno != EPERM) 72 if (ioctl(pns, NS_GET_PARENT) >= 0 || errno != EPERM)
73 return pr_err("Don't get EPERM");; 73 return pr_err("Don't get EPERM");
74 } 74 }
75 75
76 kill(pid, SIGKILL); 76 kill(pid, SIGKILL);