summaryrefslogtreecommitdiff
path: root/libexec/ld.so
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-12-12 17:39:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-12-12 17:39:15 +0000
commitfa4b74683a4c77a88b5be69930e359247043629d (patch)
tree83d9ca775c49978f4b60d00a91b2ac606deb50de /libexec/ld.so
parent0f0f42d4a549ee911b8f96f3c5df89de85916a1c (diff)
repair type for 2nd arg of read(2)
Diffstat (limited to 'libexec/ld.so')
-rw-r--r--libexec/ld.so/syscall.h4
1 files changed, 2 insertions, 2 deletions
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);