summaryrefslogtreecommitdiff
path: root/src/inotify/bits.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-09-12 09:11:03 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-09-12 09:11:03 -0600
commita71e76c9ab160f0ab7abbfe6db500b3b178e57de (patch)
tree725b389d78cf70d576f7d0ed92cd28495d96fa27 /src/inotify/bits.go
parent8436272d180b007e265ac2493767d1bfd21914c8 (diff)
inotify: fix the type of the Init1 flags
Diffstat (limited to 'src/inotify/bits.go')
-rw-r--r--src/inotify/bits.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inotify/bits.go b/src/inotify/bits.go
index 70dd012..2c65736 100644
--- a/src/inotify/bits.go
+++ b/src/inotify/bits.go
@@ -3,8 +3,8 @@ package inotify
const (
// Flags for the parameter of InotifyInit1().
// These, oddly, appear to be 24-bit numbers.
- IN_CLOEXEC uint32 = 02000000
- IN_NONBLOCK uint32 = 00004000
+ IN_CLOEXEC int = 02000000
+ IN_NONBLOCK int = 00004000
)
type Fd int