diff options
Diffstat (limited to 'lib/libc/sys/openat.c')
-rw-r--r-- | lib/libc/sys/openat.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libc/sys/openat.c b/lib/libc/sys/openat.c index 1bd12ea2a8d8..1cd8e7d90745 100644 --- a/lib/libc/sys/openat.c +++ b/lib/libc/sys/openat.c @@ -1,6 +1,5 @@ /* * Copyright (c) 2014 The FreeBSD Foundation. - * All rights reserved. * * Portions of this software were developed by Konstantin Belousov * under sponsorship from the FreeBSD Foundation. @@ -30,9 +29,6 @@ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #include <sys/types.h> #include <sys/fcntl.h> #include <stdarg.h> @@ -57,6 +53,5 @@ openat(int fd, const char *path, int flags, ...) } else { mode = 0; } - return (((int (*)(int, const char *, int, ...)) - __libc_interposing[INTERPOS_openat])(fd, path, flags, mode)); + return (INTERPOS_SYS(openat, fd, path, flags, mode)); } |