Fix build with Benchmark build flag

Broke a while ago during optimisation work, and not noticed since the flag
is disabled by default.

This commit was sponsored by Brock Spratlen on Patreon.
This commit is contained in:
Joey Hess 2020-10-02 13:30:24 -04:00
parent 37b1f2f2ed
commit 37426920d8
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 2 additions and 1 deletions

View file

@ -37,6 +37,7 @@ git-annex (8.20200909) UNRELEASED; urgency=medium
encryption= in their config.
* Parse youtube-dl progress output, which lets progress be displayed
when doing concurrent downloads.
* Fix build with Benchmark build flag.
-- Joey Hess <id@joeyh.name> Mon, 14 Sep 2020 18:34:37 -0400

View file

@ -92,7 +92,7 @@ keyN n = mkKey $ \k -> k
}
fileN :: Integer -> TopFilePath
fileN n = asTopFilePath ("file" ++ show n)
fileN n = asTopFilePath (toRawFilePath ("file" ++ show n))
keyMiss :: Key
keyMiss = keyN 0 -- 0 is never stored