summaryrefslogtreecommitdiff
path: root/guix/build/syscalls.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-07-06 09:02:50 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-07-07 13:56:16 +0200
commit0dd136bc36709bd413505387ef44a5b60e6be74c (patch)
tree85369397399ff6be93e50bb399ab92ed248a0f8e /guix/build/syscalls.scm
parentf17a52540f03f551f8e18195aef0345cf0e44621 (diff)
Revert "syscalls: 'terminal-dimension' ignores EPERM."
This reverts commit 17a102332a253f0e3b1f511fa7bda2094264a77c. See <https://github.com/koverstreet/bcachefs/pull/277>.
Diffstat (limited to 'guix/build/syscalls.scm')
-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 8886fc0fb9..ac1b0c2eea 100644
--- a/guix/build/syscalls.scm
+++ b/guix/build/syscalls.scm
@@ -2236,8 +2236,8 @@ correspond to a terminal, return the value returned by FALL-BACK."
;; would return EINVAL instead in some cases:
;; <https://bugs.ruby-lang.org/issues/10494>.
;; Furthermore, some FUSE file systems like unionfs return ENOSYS for
- ;; that ioctl, and bcachefs returns EPERM.
- (if (memv errno (list ENOTTY EINVAL ENOSYS EPERM))
+ ;; that ioctl.
+ (if (memv errno (list ENOTTY EINVAL ENOSYS))
(fall-back)
(apply throw args))))))