From 99468ed45f5a58f584bab60364af937eb6f8afda Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Mon, 26 Oct 2020 08:58:01 -0300 Subject: io: Remove xmknod{at} implementations With xmknod wrapper functions removed (589260cef8), the mknod functions are now properly exported, and version is done using symbols versioning instead of the extra _MKNOD_* argument. It also allows us to consolidate Linux and Hurd mknod implementation. Reviewed-by: Lukasz Majewski --- io/mknodat.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'io/mknodat.c') diff --git a/io/mknodat.c b/io/mknodat.c index 63a8068ad6..cf491f99a7 100644 --- a/io/mknodat.c +++ b/io/mknodat.c @@ -21,7 +21,10 @@ int __mknodat (int fd, const char *path, mode_t mode, dev_t dev) { - return __xmknodat (_MKNOD_VER, fd, path, mode, &dev); + __set_errno (ENOSYS); + return -1; } libc_hidden_def (__mknodat) weak_alias (__mknodat, mknodat) + +stub_warning (mknodat) -- cgit v1.2.3