mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
machine: ssh: Use 'formatted-message'.
* gnu/machine/ssh.scm (machine-check-initrd-modules): Use 'formatted-message' instead of 'format' + '&message'.
This commit is contained in:
parent
73303067c7
commit
120051e1b9
1 changed files with 2 additions and 4 deletions
|
@ -270,11 +270,9 @@ (define dev
|
||||||
|
|
||||||
(remote-let ((missing remote-exp))
|
(remote-let ((missing remote-exp))
|
||||||
(unless (null? missing)
|
(unless (null? missing)
|
||||||
(raise (condition
|
(raise (formatted-message (G_ "missing modules for ~a:~{ ~a~}~%")
|
||||||
(&message
|
|
||||||
(message (format #f (G_ "missing modules for ~a:~{ ~a~}~%")
|
|
||||||
(file-system-device fs)
|
(file-system-device fs)
|
||||||
missing))))))))
|
missing)))))
|
||||||
|
|
||||||
(map missing-modules file-systems))
|
(map missing-modules file-systems))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue