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:
Ludovic Courtès 2021-02-25 10:01:56 +01:00
parent 73303067c7
commit 120051e1b9
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -270,11 +270,9 @@ (define dev
(remote-let ((missing remote-exp))
(unless (null? missing)
(raise (condition
(&message
(message (format #f (G_ "missing modules for ~a:~{ ~a~}~%")
(raise (formatted-message (G_ "missing modules for ~a:~{ ~a~}~%")
(file-system-device fs)
missing))))))))
missing)))))
(map missing-modules file-systems))