aboutsummaryrefslogtreecommitdiff
path: root/libstore/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libstore/copy.c')
-rw-r--r--libstore/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstore/copy.c b/libstore/copy.c
index 0c1834fa..3f838e5c 100644
--- a/libstore/copy.c
+++ b/libstore/copy.c
@@ -35,7 +35,7 @@ copy_read (struct store *store,
/* Have to allocate memory for the return value. */
{
*buf = mmap (0, amount, PROT_READ|PROT_WRITE, MAP_ANON, 0, 0);
- if (*buf == (void *)-1))
+ if (*buf == (void *)-1)
return errno;
}