guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/08: system: 'read-boot-parameters' provides a more meaningful warning


From: Ludovic Courtès
Subject: 03/08: system: 'read-boot-parameters' provides a more meaningful warning.
Date: Thu, 31 May 2018 12:13:16 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit b1059b38b280590881659ce2b82c22cdb29c5ba2
Author: Ludovic Courtès <address@hidden>
Date:   Thu May 31 17:31:19 2018 +0200

    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.
---
 gnu/system.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/system.scm b/gnu/system.scm
index 288c1e8..dcef4ec 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]