The branch main has been updated by tmunro:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=da3ef8e66aa13db9a79841127a3cbf067de41b69

commit da3ef8e66aa13db9a79841127a3cbf067de41b69
Author:     Thomas Munro <[email protected]>
AuthorDate: 2021-01-08 05:01:15 +0000
Commit:     Thomas Munro <[email protected]>
CommitDate: 2021-01-08 05:01:15 +0000

    Fix conflicting value of O_DSYNC.
    
    O_RESOLVE_BENEATH recently took value 0x00800000, but I failed to spot
    that while rebasing.  Let's use 0x01000000 for the new O_DSYNC flag.
    
    Reported by: kevans
---
 sys/sys/fcntl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/sys/fcntl.h b/sys/sys/fcntl.h
index e2597726c53b..3c29c04e46db 100644
--- a/sys/sys/fcntl.h
+++ b/sys/sys/fcntl.h
@@ -141,7 +141,7 @@ typedef     __pid_t         pid_t;
                                           return back */
 #endif
 
-#define        O_DSYNC         0x00800000      /* POSIX data sync */
+#define        O_DSYNC         0x01000000      /* POSIX data sync */
 
 /*
  * XXX missing O_RSYNC.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to