summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-08-25 21:33:44 +0200
committerLudovic Courtès <ludo@gnu.org>2017-08-28 09:56:33 +0200
commit9e1fe3d0c34e65a50ba93b5d7f7398503131c1ba (patch)
tree92208c2150eced57e2440035cc3e40e61a74b38b /gnu
parent15d61488a645cef8c7fcba2f78305a850ac83015 (diff)
downloadguix-9e1fe3d0c34e65a50ba93b5d7f7398503131c1ba.tar.gz
bootloader: Emit warnings with 'warning'.
* gnu/bootloader.scm (bootloader-configuration-target): Use 'warning'
instead of 'issue-deprecation-warning'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/bootloader.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/bootloader.scm b/gnu/bootloader.scm
index 122e350874..736f119527 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)))