diff options
Diffstat (limited to 'ftw.c')
-rw-r--r-- | ftw.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -111,7 +111,7 @@ val ftw_wrap(val dirpath, val fn, val flags_in, val nopenfd_in) } else { int nopenfd = c_num(default_arg(nopenfd_in, num_fast(20)), self); int flags = c_num(default_arg(flags_in, zero), self); - char *dirpath_u8 = utf8_dup_to(c_str(dirpath)); + char *dirpath_u8 = utf8_dup_to(c_str(dirpath, self)); int res = (s_callback = fn, nftw(dirpath_u8, ftw_callback, nopenfd, flags)); s_callback = nil; |