summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-11-06 21:42:39 +0100
committerLudovic Courtès <ludo@gnu.org>2020-11-06 21:42:39 +0100
commitdb1b18c397fb2f9892ebce82bbea5998ce27fbb4 (patch)
tree031364924408be7e39a5b222af46141d51bbf360
parent9e2523c25f7b8d6e8c29c679ad899703a120eed8 (diff)
ui: Add missing format argument in 'warn-about-load-error'.
* guix/ui.scm (warn-about-load-error): Add missing argument to 'warning'.
-rw-r--r--guix/ui.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/ui.scm b/guix/ui.scm
index 8d7bc238bc..d5327a5b08 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -435,6 +435,7 @@ exiting. ARGS is the list of arguments received by the 'throw' handler."
(gettext (condition-message obj) %gettext-domain)))
((formatted-message? obj)
(warning (G_ "failed to load '~a': ~a~%")
+ file
(apply format #f
(gettext (formatted-message-string obj)
%gettext-domain)