From cd4a3cb359467c53e2ddd7240845b55b1129c91d Mon Sep 17 00:00:00 2001
From: Ludovic Courtès <ludo@gnu.org>
Date: Fri, 14 Nov 2014 00:41:01 +0100
Subject: syscalls: Update /etc/mtab, not /etc/fstab.

* guix/build/syscalls.scm (remove-from-mtab): Replace "fstab" with
  "mtab".
---
 guix/build/syscalls.scm | 4 ++--
 1 file 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)
-- 
cgit v1.2.3