diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-11 11:29:23 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-11 11:29:23 +0100 |
commit | 0fa06d60baf69663b7ed174329836ad318683f71 (patch) | |
tree | 3226bc473780aa37e32de6287a016486f1b86c52 | |
parent | typo (diff) | |
download | scrotty-0fa06d60baf69663b7ed174329836ad318683f71.tar.gz scrotty-0fa06d60baf69663b7ed174329836ad318683f71.tar.bz2 scrotty-0fa06d60baf69663b7ed174329836ad318683f71.tar.xz |
whitespace
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
-rw-r--r-- | src/kern-linux.c | 2 | ||||
-rw-r--r-- | src/scrotty.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/kern-linux.c b/src/kern-linux.c index 28b4d4e..a3d4ea2 100644 --- a/src/kern-linux.c +++ b/src/kern-linux.c @@ -140,7 +140,7 @@ convert_fb (FILE *restrict file, const char *restrict buf, g = (*pixel >> 8) & 255; b = (*pixel >> 0) & 255; - if (SAVE_PIXEL(file, r, g, b) < 0) + if (SAVE_PIXEL (file, r, g, b) < 0) goto fail; } diff --git a/src/scrotty.c b/src/scrotty.c index 9837a26..9105368 100644 --- a/src/scrotty.c +++ b/src/scrotty.c @@ -207,8 +207,8 @@ save (const char *fbpath, const char *imgpath, long width, long height, int raw) close (pipe_rw[1]); /* Open file descriptor for the output image. */ - fd = open(imgpath, O_WRONLY | O_CREAT | O_TRUNC, - S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); + fd = open (imgpath, O_WRONLY | O_CREAT | O_TRUNC, + S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); if (fd == -1) goto child_fail; |