summary refs log tree commit diff stats
path: root/lib/posix/inotify.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/posix/inotify.nim')
-rw-r--r--lib/posix/inotify.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/posix/inotify.nim b/lib/posix/inotify.nim
index db68dbecb..575accc18 100644
--- a/lib/posix/inotify.nim
+++ b/lib/posix/inotify.nim
@@ -20,7 +20,7 @@ type
     mask* {.importc: "mask".}: uint32                  ## Watch mask.
     cookie* {.importc: "cookie".}: uint32              ## Cookie to synchronize two events.
     len* {.importc: "len".}: uint32                    ## Length (including NULs) of name.
-    name* {.importc: "name".}: char                    ## Name.
+    name* {.importc: "name".}: UncheckedArray[char]    ## Name.
 
 # Supported events suitable for MASK parameter of INOTIFY_ADD_WATCH.
 const