mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
bootloader: Emit warnings with 'warning'.
* gnu/bootloader.scm (bootloader-configuration-target): Use 'warning' instead of 'issue-deprecation-warning'.
This commit is contained in:
parent
15d61488a6
commit
9e1fe3d0c3
1 changed files with 3 additions and 3 deletions
|
@ -132,9 +132,9 @@ (define (bootloader-configuration-target config)
|
||||||
(or (%bootloader-configuration-target config)
|
(or (%bootloader-configuration-target config)
|
||||||
(let ((device (bootloader-configuration-device config)))
|
(let ((device (bootloader-configuration-device config)))
|
||||||
(when device
|
(when device
|
||||||
(issue-deprecation-warning
|
(warning
|
||||||
"The 'device' field of bootloader configurations is deprecated."
|
(G_ "The 'device' field of bootloader configurations is deprecated.~%"))
|
||||||
"Use 'target' instead."))
|
(warning (G_ "Use 'target' instead.~%")))
|
||||||
device)))
|
device)))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue