Commit 789a2c7f authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Cyrill Gorcunov

Trivial whitespace cleanup

Cleaning a few space-at-EOL occurences, plus one spaces-instead-of-tab.

Found using:

	git grep -n '[[:space:]]$'
	git grep -n '        '
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent ef570244
...@@ -150,7 +150,7 @@ struct cr_fdset *cr_fdset_open(int pid, unsigned long use_mask, struct cr_fdset ...@@ -150,7 +150,7 @@ struct cr_fdset *cr_fdset_open(int pid, unsigned long use_mask, struct cr_fdset
if (ret && errno != ENOENT) { if (ret && errno != ENOENT) {
pr_perror("Unable to unlink %s (%s)\n", path, strerror(errno)); pr_perror("Unable to unlink %s (%s)\n", path, strerror(errno));
goto err; goto err;
} }
ret = open(path, O_RDWR | O_CREAT | O_EXCL, CR_FD_PERM); ret = open(path, O_RDWR | O_CREAT | O_EXCL, CR_FD_PERM);
if (ret < 0) { if (ret < 0) {
......
...@@ -55,7 +55,7 @@ enum { ...@@ -55,7 +55,7 @@ enum {
* to offset cc+"yes" or to offset cc+"no". "yes" is supposed to be * to offset cc+"yes" or to offset cc+"no". "yes" is supposed to be
* length of the command and its arguments. * length of the command and its arguments.
*/ */
struct inet_diag_bc_op { struct inet_diag_bc_op {
unsigned char code; unsigned char code;
unsigned char yes; unsigned char yes;
......
...@@ -199,7 +199,7 @@ retry_signal: ...@@ -199,7 +199,7 @@ retry_signal:
ret = 0; ret = 0;
/* /*
* Our code is done. * Our code is done.
*/ */
jerr(ptrace(PTRACE_INTERRUPT, pid, NULL, NULL), err_restore_full); jerr(ptrace(PTRACE_INTERRUPT, pid, NULL, NULL), err_restore_full);
jerr(ptrace(PTRACE_CONT, pid, NULL, NULL), err_restore_full); jerr(ptrace(PTRACE_CONT, pid, NULL, NULL), err_restore_full);
......
...@@ -251,7 +251,7 @@ static int dump_sigact(struct parasite_dump_file_args *args) ...@@ -251,7 +251,7 @@ static int dump_sigact(struct parasite_dump_file_args *args)
sys_lseek(fd, MAGIC_OFFSET, SEEK_SET); sys_lseek(fd, MAGIC_OFFSET, SEEK_SET);
for (sig = 1; sig < SIGMAX; sig++) { for (sig = 1; sig < SIGMAX; sig++) {
if (sig == SIGKILL || sig == SIGSTOP) if (sig == SIGKILL || sig == SIGSTOP)
continue; continue;
......
...@@ -55,7 +55,7 @@ int main(int argc, char *argv[]) ...@@ -55,7 +55,7 @@ int main(int argc, char *argv[])
ssk_icon[1] = socket(AF_UNIX, SOCK_STREAM, 0); ssk_icon[1] = socket(AF_UNIX, SOCK_STREAM, 0);
if (ssk_icon[0] < 0 || ssk_icon[1] < 0) { if (ssk_icon[0] < 0 || ssk_icon[1] < 0) {
fail("socket\n"); fail("socket\n");
exit(1); exit(1);
} }
ret = bind(ssk_icon[0], &addr, addrlen); ret = bind(ssk_icon[0], &addr, addrlen);
...@@ -103,7 +103,7 @@ int main(int argc, char *argv[]) ...@@ -103,7 +103,7 @@ int main(int argc, char *argv[])
ret = accept(ssk_icon[0], NULL, NULL); ret = accept(ssk_icon[0], NULL, NULL);
if (ret < 0) { if (ret < 0) {
fail("accept\n"); fail("accept\n");
exit(1); exit(1);
} else } else
ssk_icon[0] = ret; ssk_icon[0] = ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment