Skip to content

Commit

Permalink
tools/testing: Fix trailing semicolon
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
  • Loading branch information
luisbg authored and Shuah Khan committed Jan 12, 2018
1 parent 4c1baad commit 2519c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/nsfs/pidns.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2519c35

Please sign in to comment.