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
1 changed files with 2 additions and 4 deletions

View File

@ -270,11 +270,9 @@ not available in the initrd."
(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))