diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-08-25 21:33:44 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-08-28 09:56:33 +0200 |
commit | 9e1fe3d0c34e65a50ba93b5d7f7398503131c1ba (patch) | |
tree | 92208c2150eced57e2440035cc3e40e61a74b38b /gnu | |
parent | 15d61488a645cef8c7fcba2f78305a850ac83015 (diff) | |
download | guix-9e1fe3d0c34e65a50ba93b5d7f7398503131c1ba.tar guix-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.scm | 6 |
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))) |