Author: bapt
Date: Tue May 5 07:49:46 2015
New Revision: 282453
URL: https://svnweb.freebsd.org/changeset/base/282453
Log:
Explicitly use O_RDONLY instead of 0
Modified:
head/usr.bin/vgrind/vgrindefs.c
Modified: head/usr.bin/vgrind/vgrindefs.c
==============================================================================
--- head/usr.bin/vgrind/vgrindefs.c Tue May 5 07:47:36 2015
(r282452)
+++ head/usr.bin/vgrind/vgrindefs.c Tue May 5 07:49:46 2015
(r282453)
@@ -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 (;;) {
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"