From fa4b74683a4c77a88b5be69930e359247043629d Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 12 Dec 2023 17:39:15 +0000 Subject: repair type for 2nd arg of read(2) --- libexec/ld.so/syscall.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libexec') diff --git a/libexec/ld.so/syscall.h b/libexec/ld.so/syscall.h index 6e9394d0717..649fc240e25 100644 --- a/libexec/ld.so/syscall.h +++ b/libexec/ld.so/syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall.h,v 1.4 2023/02/18 01:22:50 deraadt Exp $ */ +/* $OpenBSD: syscall.h,v 1.5 2023/12/12 17:39:14 deraadt Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -56,7 +56,7 @@ int _dl_munmap(const void *, size_t); int _dl_mimmutable(const void *, size_t); int _dl_open(const char *, int); int _dl_pledge(const char *, const char **); -ssize_t _dl_read(int, const char *, size_t); +ssize_t _dl_read(int, void *, size_t); int _dl_sendsyslog(const char *, size_t, int); void _dl___set_tcb(void *); int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t); -- cgit v1.2.3