summaryrefslogtreecommitdiff
path: root/inotify
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
commitb4ba0d061c1ef2f8069a568992eb98b7c060f5cf (patch)
tree9176bc21285c6b4f29434785484aeb41033c2fe6 /inotify
parentea070b33ad5d3c865fc566366ac3ce8b2fa6818a (diff)
inotify: fix the type of the Init1 flags
Diffstat (limited to 'inotify')
-rw-r--r--inotify/bits.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/inotify/bits.go b/inotify/bits.go
index 70dd012..2c65736 100644
--- a/inotify/bits.go
+++ b/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