summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/libstore/gc.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/nix/libstore/gc.cc b/nix/libstore/gc.cc
index 77a2a7027db..610270f907e 100644
--- a/nix/libstore/gc.cc
+++ b/nix/libstore/gc.cc
@@ -318,7 +318,8 @@ static void findRoots(StoreAPI & store, const Path & path, unsigned char type, R
318 catch (SysError & e) { 318 catch (SysError & e) {
319 /* We only ignore permanent failures. */ 319 /* We only ignore permanent failures. */
320 if (e.errNo == EACCES || e.errNo == ENOENT || e.errNo == ENOTDIR) 320 if (e.errNo == EACCES || e.errNo == ENOENT || e.errNo == ENOTDIR)
321 printMsg(lvlInfo, format("cannot read potential root `%1%'") % path); 321 printMsg(lvlInfo, format("cannot read potential root '%1%': %2%")
322 % path % strerror(e.errNo));
322 else 323 else
323 throw; 324 throw;
324 } 325 }