civodul pushed a commit to branch master
in repository guix.
commit 3bacc655c5fd988f0199ef259adcb4fb3754042e
Author: Ludovic Courtès <[email protected]>
Date: Sun Jun 18 00:01:03 2017 +0200
syscalls: 'opendir*' error message shows the file name.
* guix/build/syscalls.scm (opendir*): Add NAME to the 'system-error'
message.
---
guix/build/syscalls.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm
index 6249412..9c082b4 100644
--- a/guix/build/syscalls.scm
+++ b/guix/build/syscalls.scm
@@ -870,8 +870,7 @@ system to PUT-OLD."
(proc (string->pointer name))))
(if (null-pointer? ptr)
(throw 'system-error "opendir*"
- "opendir*: ~A"
- (list (strerror err))
+ "~A: ~A" (list name (strerror err))
(list err))
ptr)))))