diff options
author | Thomas White <taw@physics.org> | 2012-06-06 16:47:54 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-06-06 16:47:54 +0200 |
commit | a4ffb65ff4da923aabdb107cdaf59fccba30b409 (patch) | |
tree | b691d60cee79b40ad3d396beb608811ca9fa446d /src | |
parent | 13770d8553f9696c1c4c0c56703717524c028d86 (diff) |
Formatting
Diffstat (limited to 'src')
-rw-r--r-- | src/indexamajig.c | 4 |
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); } |