diff options
Diffstat (limited to 'ext/POSIX/t/sysconf.t')
-rw-r--r-- | ext/POSIX/t/sysconf.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/POSIX/t/sysconf.t b/ext/POSIX/t/sysconf.t index f23e0d3b3b..29cf20f210 100644 --- a/ext/POSIX/t/sysconf.t +++ b/ext/POSIX/t/sysconf.t @@ -110,7 +110,7 @@ SKIP: { -c $TTY or skip("$TTY not a character file", $n); - open(TTY, $TTY) + open(TTY, '<', $TTY) or skip("failed to open $TTY: $!", $n); -t TTY or skip("TTY ($TTY) not a terminal file", $n); |