aboutsummaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2005-04-12 11:36:26 -0700
committerPetr Baudis <xpasky@machine>2005-04-13 02:35:04 -0700
commitaebb2679085d2ecc4d1c943ecfb2e87c699f00d0 (patch)
tree0ba51186089993112337d5b34a9ee23fe7cf4fdb /read-cache.c
parent42d545e8ff33f478a4b7b99562ab073d8820b334 (diff)
downloadgit-aebb2679085d2ecc4d1c943ecfb2e87c699f00d0.tar.gz
git-aebb2679085d2ecc4d1c943ecfb2e87c699f00d0.tar.xz
[PATCH] Whitespace Fixes
Trivial whitespace fixes. From: Ingo Molnar <mingo@elte.hu> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Petr Baudis <pasky@ucw.cz>
Diffstat (limited to 'read-cache.c')
-rw-r--r--read-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read-cache.c b/read-cache.c
index d8b383fe6..e3d3ddb18 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -136,7 +136,7 @@ void *map_sha1_file(const unsigned char *sha1, unsigned long *size)
return NULL;
}
if (fstat(fd, &st) < 0) {
- close(fd);
+ close(fd);
return NULL;
}
map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0);