t4150 (am): style fix
[gitweb.git] / http-walker.c
index cabac48eee968593fd885180710e95c99d901a24..18bd6504beb99ab68f360c4fa93011efae42fdfb 100644 (file)
@@ -510,7 +510,7 @@ static int fetch_object(struct walker *walker, struct alt_base *repo, unsigned c
                ret = error("File %s has bad hash", hex);
        } else if (req->rename < 0) {
                ret = error("unable to write sha1 filename %s",
-                           req->filename);
+                           sha1_file_name(req->sha1));
        }
 
        release_http_object_request(req);