diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-05-05 07:49:46 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-05-05 07:49:46 +0000 |
commit | 1e0ae120f5d963d537e7eb113c0d44614f7dd395 (patch) | |
tree | bd77affbe18f5dff28f1bb35ed0f79d34dc320e3 /usr.bin/vgrind | |
parent | 4fc9d676541b0289ea809a0d43a046fa899ce64b (diff) | |
download | src-1e0ae120f5d963d537e7eb113c0d44614f7dd395.tar.gz src-1e0ae120f5d963d537e7eb113c0d44614f7dd395.zip |
Notes
Diffstat (limited to 'usr.bin/vgrind')
-rw-r--r-- | usr.bin/vgrind/vgrindefs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/vgrind/vgrindefs.c b/usr.bin/vgrind/vgrindefs.c index 729871387bb3..cc6e0c4fa109 100644 --- a/usr.bin/vgrind/vgrindefs.c +++ b/usr.bin/vgrind/vgrindefs.c @@ -79,7 +79,7 @@ tgetent(char *bp, char *name, char *file) tbuf = bp; tf = 0; filename = file; - tf = open(filename, 0); + tf = open(filename, O_RDONLY); if (tf < 0) return (-1); for (;;) { |