Skip to content

Commit 255b01e

Browse files
committed
UTIME_OMIT and UTIME_NOW values are inverted on OpenBSD. correct it
1 parent fd963f4 commit 255b01e

File tree

1 file changed

+2
-2
lines changed
  • src/unix/bsd/netbsdlike/openbsd

1 file changed

+2
-2
lines changed

src/unix/bsd/netbsdlike/openbsd/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -748,8 +748,8 @@ pub const ELAST : ::c_int = 95;
748748

749749
pub const F_DUPFD_CLOEXEC : ::c_int = 10;
750750

751-
pub const UTIME_OMIT: c_long = -2;
752-
pub const UTIME_NOW: c_long = -1;
751+
pub const UTIME_OMIT: c_long = -1;
752+
pub const UTIME_NOW: c_long = -2;
753753

754754
pub const AT_FDCWD: ::c_int = -100;
755755
pub const AT_EACCESS: ::c_int = 0x01;

0 commit comments

Comments
 (0)