aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-06-06 16:47:54 +0200
committerThomas White <taw@physics.org>2012-06-06 16:47:54 +0200
commita4ffb65ff4da923aabdb107cdaf59fccba30b409 (patch)
treeb691d60cee79b40ad3d396beb608811ca9fa446d /src
parent13770d8553f9696c1c4c0c56703717524c028d86 (diff)
Formatting
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 223403ad..8061b1ae 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -411,11 +411,11 @@ static void process_image(const struct index_args *iargs,
fl.l_pid = getpid();
fd = open(outfile, O_WRONLY);
- if ( fd == -1) {
+ if ( fd == -1 ) {
ERROR("Error on opening\n");
exit(1);
}
- if (fcntl(fd, F_SETLKW, &fl) == -1) {
+ if ( fcntl(fd, F_SETLKW, &fl) == -1 ) {
ERROR("Error on setting lock wait\n");
exit(1);
}