guix-commits
[Top][All Lists]
Advanced

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

01/06: bootloader: Emit warnings with 'warning'.


From: Ludovic Courtès
Subject: 01/06: bootloader: Emit warnings with 'warning'.
Date: Mon, 28 Aug 2017 04:19:06 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 9e1fe3d0c34e65a50ba93b5d7f7398503131c1ba
Author: Ludovic Courtès <address@hidden>
Date:   Fri Aug 25 21:33:44 2017 +0200

    bootloader: Emit warnings with 'warning'.
    
    * gnu/bootloader.scm (bootloader-configuration-target): Use 'warning'
    instead of 'issue-deprecation-warning'.
---
 gnu/bootloader.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/bootloader.scm b/gnu/bootloader.scm
index 122e350..736f119 100644
--- a/gnu/bootloader.scm
+++ b/gnu/bootloader.scm
@@ -132,9 +132,9 @@
   (or (%bootloader-configuration-target config)
       (let ((device (bootloader-configuration-device config)))
         (when device
-          (issue-deprecation-warning
-           "The 'device' field of bootloader configurations is deprecated."
-           "Use 'target' instead."))
+          (warning
+           (G_ "The 'device' field of bootloader configurations is 
deprecated.~%"))
+          (warning (G_ "Use 'target' instead.~%")))
         device)))
 
 



reply via email to

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