2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

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: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
Kir Kolyshkin
2012-01-30 21:18:37 +04:00
committed by Cyrill Gorcunov
parent ef57024410
commit 789a2c7f7a
5 changed files with 6 additions and 6 deletions

View File

@@ -150,7 +150,7 @@ struct cr_fdset *cr_fdset_open(int pid, unsigned long use_mask, struct cr_fdset
if (ret && errno != ENOENT) {
pr_perror("Unable to unlink %s (%s)\n", path, strerror(errno));
goto err;
}
}
ret = open(path, O_RDWR | O_CREAT | O_EXCL, CR_FD_PERM);
if (ret < 0) {

View File

@@ -55,7 +55,7 @@ enum {
* to offset cc+"yes" or to offset cc+"no". "yes" is supposed to be
* length of the command and its arguments.
*/
struct inet_diag_bc_op {
unsigned char code;
unsigned char yes;

View File

@@ -199,7 +199,7 @@ retry_signal:
ret = 0;
/*
* Our code is done.
* Our code is done.
*/
jerr(ptrace(PTRACE_INTERRUPT, pid, NULL, NULL), err_restore_full);
jerr(ptrace(PTRACE_CONT, pid, NULL, NULL), err_restore_full);

View File

@@ -251,7 +251,7 @@ static int dump_sigact(struct parasite_dump_file_args *args)
sys_lseek(fd, MAGIC_OFFSET, SEEK_SET);
for (sig = 1; sig < SIGMAX; sig++) {
for (sig = 1; sig < SIGMAX; sig++) {
if (sig == SIGKILL || sig == SIGSTOP)
continue;

View File

@@ -55,7 +55,7 @@ int main(int argc, char *argv[])
ssk_icon[1] = socket(AF_UNIX, SOCK_STREAM, 0);
if (ssk_icon[0] < 0 || ssk_icon[1] < 0) {
fail("socket\n");
exit(1);
exit(1);
}
ret = bind(ssk_icon[0], &addr, addrlen);
@@ -103,7 +103,7 @@ int main(int argc, char *argv[])
ret = accept(ssk_icon[0], NULL, NULL);
if (ret < 0) {
fail("accept\n");
exit(1);
exit(1);
} else
ssk_icon[0] = ret;