aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-11 11:29:23 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-11 11:29:23 +0100
commit0fa06d60baf69663b7ed174329836ad318683f71 (patch)
tree3226bc473780aa37e32de6287a016486f1b86c52 /src
parenttypo (diff)
downloadscrotty-0fa06d60baf69663b7ed174329836ad318683f71.tar.gz
scrotty-0fa06d60baf69663b7ed174329836ad318683f71.tar.bz2
scrotty-0fa06d60baf69663b7ed174329836ad318683f71.tar.xz
whitespace
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--src/kern-linux.c2
-rw-r--r--src/scrotty.c4
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;