diff options
Diffstat (limited to 'usr.bin/vi/common/main.c')
-rw-r--r-- | usr.bin/vi/common/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vi/common/main.c b/usr.bin/vi/common/main.c index ee3d10bf858..7511e0262bf 100644 --- a/usr.bin/vi/common/main.c +++ b/usr.bin/vi/common/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.42 2021/01/26 18:19:43 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.43 2021/10/24 21:24:17 deraadt Exp $ */ /*- * Copyright (c) 1992, 1993, 1994 @@ -578,7 +578,7 @@ attach(GS *gp) int fd; char ch; - if ((fd = open(_PATH_TTY, O_RDONLY, 0)) < 0) { + if ((fd = open(_PATH_TTY, O_RDONLY)) < 0) { warn("%s", _PATH_TTY); return; } |