[CRIU] [crtools-bot] Trivial whitespace cleanup

Cyrill Gorcunov gorcunov at openvz.org
Mon Jan 30 12:29:42 EST 2012


The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit 789a2c7f7aa15b8a2af632a1a1630a0f26eab60b
Author: Kir Kolyshkin <kir at openvz.org>
Date:   Mon Jan 30 21:18:37 2012 +0400

    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 at openvz.org>
    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 crtools.c                         |    2 +-
 include/inet_diag.h               |    2 +-
 parasite-syscall.c                |    2 +-
 parasite.c                        |    2 +-
 test/zdtm/live/static/sockets00.c |    4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/crtools.c b/crtools.c
index cde561b..957acbc 100644
--- a/crtools.c
+++ b/crtools.c
@@ -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) {
diff --git a/include/inet_diag.h b/include/inet_diag.h
index fed8c61..395e715 100644
--- a/include/inet_diag.h
+++ b/include/inet_diag.h
@@ -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;
diff --git a/parasite-syscall.c b/parasite-syscall.c
index 6b3e0e7..480e07e 100644
--- a/parasite-syscall.c
+++ b/parasite-syscall.c
@@ -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);
diff --git a/parasite.c b/parasite.c
index b2bbba6..5ef08d8 100644
--- a/parasite.c
+++ b/parasite.c
@@ -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;
 
diff --git a/test/zdtm/live/static/sockets00.c b/test/zdtm/live/static/sockets00.c
index b07ddc2..376347b 100644
--- a/test/zdtm/live/static/sockets00.c
+++ b/test/zdtm/live/static/sockets00.c
@@ -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;
 


More information about the CRIU mailing list