diff options
author | Kir Kolyshkin <kolyshkin@gmail.com> | 2021-04-23 03:48:08 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2021-09-03 20:31:00 +0300 |
commit | 96b7178babb132e78a5c0f11d925d4b5c5eedc00 (patch) | |
tree | f3e3fe321a400a752f97efe469f60bf4962b193b /test/others/pipes | |
parent | 7ea20e8f5a533a2458b53b14749d36e1194ac47c (diff) |
Whitespace at EOL cleanup and check
My editor (vim) auto-removes whitespace at EOL for *.c and *.h files,
and I think it makes sense to have a separate commit for this, rather
than littering other commits with such changes.
To make sure this won't pile up again, add a line to Makefile under
the linter target to check for such things (so CI will fail).
This is all whitespace except an addition to Makefile.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Diffstat (limited to 'test/others/pipes')
-rw-r--r-- | test/others/pipes/pipe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/others/pipes/pipe.c b/test/others/pipes/pipe.c index 33ec60e7f..d693f4b02 100644 --- a/test/others/pipes/pipe.c +++ b/test/others/pipes/pipe.c @@ -10,7 +10,7 @@ * Also note that changing the log file during restore has nothing to do * with the pipe. It's just a nice feature for cases where it's desirable * to have a restored process use a different file then the original one. - * + * * The parent process spawns a child that will write messages to its * parent through a pipe. After a couple of messages, parent invokes * criu to checkpoint the child. Since the child exits after checkpoint, @@ -377,7 +377,7 @@ void chld_handler(int signum) if (pid == child_pid) { if (!qflag) { printf("%s %s exited with status %d\n", who(0), - who(pid), status); + who(pid), status); } /* if child exited successfully, we're done */ if (status == 0) @@ -528,7 +528,7 @@ char *pipe_name(int fd) } /* - * Use two buffers to support two calls to + * Use two buffers to support two calls to * this function in a printf argument list. */ char *who(pid_t pid) |