X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstat%2Ffchmodat.c;h=4ee00b0a3ed18cb1ce15c62ff4ce517c7bbf9ece;hb=043c6e31d9135c27875a1ccb4c0f1638f0170e77;hp=d94667aed5e1a4aa1e924bd89a8ba3aa3ec6aa16;hpb=61b1d102129990f6e903c6ddcf46c7d79d1a1e99;p=musl diff --git a/src/stat/fchmodat.c b/src/stat/fchmodat.c index d94667ae..4ee00b0a 100644 --- a/src/stat/fchmodat.c +++ b/src/stat/fchmodat.c @@ -2,8 +2,7 @@ #include #include #include "syscall.h" - -void __procfdname(char *, unsigned); +#include "kstat.h" int fchmodat(int fd, const char *path, mode_t mode, int flag) { @@ -12,7 +11,7 @@ int fchmodat(int fd, const char *path, mode_t mode, int flag) if (flag != AT_SYMLINK_NOFOLLOW) return __syscall_ret(-EINVAL); - struct stat st; + struct kstat st; int ret, fd2; char proc[15+3*sizeof(int)];