i18n: clean.c: match string with git-add--interactive.perl
[gitweb.git] / builtin / fsck.c
index f604adff7e89aebde325a6cc5649afb38f69fd8d..055dfdcf9ed89c2052ebbeae53a7b2a92f9e3b70 100644 (file)
@@ -268,7 +268,7 @@ static void check_unreachable_object(struct object *obj)
                        if (!(f = fopen(filename, "w")))
                                die_errno("Could not open '%s'", filename);
                        if (obj->type == OBJ_BLOB) {
-                               if (stream_blob_to_fd(fileno(f), obj->oid.hash, NULL, 1))
+                               if (stream_blob_to_fd(fileno(f), &obj->oid, NULL, 1))
                                        die_errno("Could not write '%s'", filename);
                        } else
                                fprintf(f, "%s\n", describe_object(obj));