diff options
author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-10-17 11:16:26 +0200 |
---|---|---|
committer | Jan (janneke) Nieuwenhuizen <janneke@gnu.org> | 2024-11-11 07:28:34 +0100 |
commit | e57bc3bcde9fc200c9196e94b29bf7b5b427411e (patch) | |
tree | 057a3b01a80cc8e5c5276e5f1a5ab44c330bdf99 /gnu/installer/utils.scm | |
parent | 31f687f2581c9ceb709c6daea7284621e553cfa2 (diff) | |
download | guix-e57bc3bcde9fc200c9196e94b29bf7b5b427411e.tar.gz guix-e57bc3bcde9fc200c9196e94b29bf7b5b427411e.zip |
installer: Fix file-name typos.
* gnu/installer/newt/page.scm (run-dump-page): Typo file-name.
* gnu/installer/utils.scm (open-new-log-port): Likewise.
Change-Id: I837991a0ee5054b3afa8328205e23ac6f9fbae8d
Diffstat (limited to 'gnu/installer/utils.scm')
-rw-r--r-- | gnu/installer/utils.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/installer/utils.scm b/gnu/installer/utils.scm index 6838410166..c722e9af8f 100644 --- a/gnu/installer/utils.scm +++ b/gnu/installer/utils.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018, 2020 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2019, 2020, 2022 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -283,11 +284,11 @@ values." (define (open-new-log-port) (define now (localtime (time-second (current-time)))) - (define filename + (define file-name (format #f "/tmp/installer.~a.log" (strftime "%F.%T" now))) - (open filename (logior O_RDWR - O_CREAT))) + (open file-name (logior O_RDWR + O_CREAT))) (define installer-log-port (let ((port #f)) |