]> git.proxmox.com Git - wasi-libc.git/blobdiff - libc-bottom-half/cloudlibc/src/libc/sys/stat/utimensat.c
Update to the next version of the `witx` crate (#234)
[wasi-libc.git] / libc-bottom-half / cloudlibc / src / libc / sys / stat / utimensat.c
index 67f3adf5548c71f5df6f2026a0ad7b0a14f49992..a5727162011eb7e9a66655cba4d8860489b27a47 100644 (file)
@@ -31,7 +31,7 @@ int __wasilibc_nocwd_utimensat(int fd, const char *path, const struct timespec t
 
   // Perform system call.
   __wasi_errno_t error =
-      __wasi_path_filestat_set_times(fd, lookup_flags, path, strlen(path), st_atim, st_mtim, flags);
+      __wasi_path_filestat_set_times(fd, lookup_flags, path, st_atim, st_mtim, flags);
   if (error != 0) {
     errno = errno_fixup_directory(fd, error);
     return -1;