syscalls: Update /etc/mtab, not /etc/fstab.

* guix/build/syscalls.scm (remove-from-mtab): Replace "fstab" with
  "mtab".
This commit is contained in:
Ludovic Courtès 2014-11-14 00:41:01 +01:00
parent 4c7ac9aa7f
commit cd4a3cb359
1 changed files with 2 additions and 2 deletions

View File

@ -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)