summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-05-31 17:31:19 +0200
committerLudovic Courtès <ludo@gnu.org>2018-05-31 18:13:08 +0200
commitb1059b38b280590881659ce2b82c22cdb29c5ba2 (patch)
treebf31d2627773c450aca57e4e73c41c7f0eeddbbc
parent69a05eab355f410e38ffd69007b9b8d740d92b59 (diff)
downloadguix-b1059b38b280590881659ce2b82c22cdb29c5ba2.tar.gz
system: 'read-boot-parameters' provides a more meaningful warning.
'system' here was bound to Guile's 'system' procedure.

* gnu/system.scm (read-boot-parameters): Fix argument for fallback
warning.
-rw-r--r--gnu/system.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index 288c1e8801..dcef4ec09c 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -317,8 +317,8 @@ file system labels."
          (_                                       ;the old format
           "/")))))
     (x                                            ;unsupported format
-     (warning (G_ "unrecognized boot parameters for '~a'~%")
-              system)
+     (warning (G_ "unrecognized boot parameters at '~a'~%")
+              (port-filename port))
      #f)))
 
 (define (read-boot-parameters-file system)