summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--guix/build/syscalls.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm
index 9765820836..e1fafe2266 100644
--- a/guix/build/syscalls.scm
+++ b/guix/build/syscalls.scm
@@ -106,9 +106,9 @@
              ((device mount-point type options freq passno)
               (string=? target mount-point))
              (_ #f))
-            (call-with-input-file "/etc/fstab" read-mtab)))
+            (call-with-input-file "/etc/mtab" read-mtab)))
 
-  (call-with-output-file "/etc/fstab"
+  (call-with-output-file "/etc/mtab"
     (lambda (port)
       (for-each (match-lambda
                  ((device mount-point type options freq passno)