diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-08-29T10·09+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-08-29T10·09+0200 |
commit | f27e53f77e39d1247c47b48acb63af3d24ca74bf (patch) | |
tree | 3226aa3f58246225d2961794464adda20408dadc /src/libstore | |
parent | b6120d26a84a69755c049ca5115b4388239d4540 (diff) |
Cleanup
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/gc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc index 366dbfb0a653..f736016797a2 100644 --- a/src/libstore/gc.cc +++ b/src/libstore/gc.cc @@ -920,11 +920,11 @@ void LocalStore::autoGC(bool sync) promise.set_value(); }); - printInfo("running auto-GC to free %d bytes", settings.maxFree - avail); - GCOptions options; options.maxFreed = settings.maxFree - avail; + printInfo("running auto-GC to free %d bytes", options.maxFreed); + GCResults results; collectGarbage(options, results); |