Browse Source

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>
Luis de Bethencourt 7 years ago
parent
commit
2519c35fac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/testing/selftests/nsfs/pidns.c

+ 1 - 1
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);