aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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;