aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);
}