Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
object-store: migrate alternates struct and functions from cache.h
[gitweb.git]
/
t
/
helper
/
test-delta.c
diff --git
a/t/helper/test-delta.c
b/t/helper/test-delta.c
index 59937dc1be1c4f0b3d80e3ef3a86e09bff3703b6..591730adc4f3940940fdb4691da0afb81648e353 100644
(file)
--- a/
t/helper/test-delta.c
+++ b/
t/helper/test-delta.c
@@
-69,7
+69,7
@@
int cmd_main(int argc, const char **argv)
}
fd = open (argv[4], O_WRONLY|O_CREAT|O_TRUNC, 0666);
- if (fd < 0 || write_in_full(fd, out_buf, out_size)
!= out_size
) {
+ if (fd < 0 || write_in_full(fd, out_buf, out_size)
< 0
) {
perror(argv[4]);
return 1;
}