--- sysdeps/unix/sysv/linux/mkdirat.c.orig 2011-01-28 15:50:00.000000000 +0100 +++ sysdeps/unix/sysv/linux/mkdirat.c 2011-01-28 15:51:42.000000000 +0100 @@ -43,7 +43,7 @@ { res = INLINE_SYSCALL (mkdirat, 3, fd, file, mode); # ifndef __ASSUME_ATFCTS - if (res == -1 && res == ENOSYS) + if (res == -1 && errno == ENOSYS) __have_atfcts = -1; else # endif