diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2021-02-25 10:01:56 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2021-02-25 11:29:35 +0100 |
| commit | 120051e1b9358f75b228e97670843095d5fcdf49 (patch) | |
| tree | ac029f1c298cfaacc5f8330d662190aa8863007e /gnu | |
| parent | 73303067c77becb861d8e288bb115149ac6999cd (diff) | |
machine: ssh: Use 'formatted-message'.
* gnu/machine/ssh.scm (machine-check-initrd-modules): Use
'formatted-message' instead of 'format' + '&message'.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/machine/ssh.scm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gnu/machine/ssh.scm b/gnu/machine/ssh.scm index 997d673e756..fa942169c4c 100644 --- a/gnu/machine/ssh.scm +++ b/gnu/machine/ssh.scm | |||
| @@ -270,11 +270,9 @@ not available in the initrd." | |||
| 270 | 270 | ||
| 271 | (remote-let ((missing remote-exp)) | 271 | (remote-let ((missing remote-exp)) |
| 272 | (unless (null? missing) | 272 | (unless (null? missing) |
| 273 | (raise (condition | 273 | (raise (formatted-message (G_ "missing modules for ~a:~{ ~a~}~%") |
| 274 | (&message | ||
| 275 | (message (format #f (G_ "missing modules for ~a:~{ ~a~}~%") | ||
| 276 | (file-system-device fs) | 274 | (file-system-device fs) |
| 277 | missing)))))))) | 275 | missing))))) |
| 278 | 276 | ||
| 279 | (map missing-modules file-systems)) | 277 | (map missing-modules file-systems)) |
| 280 | 278 | ||
