From: deraadt Date: Tue, 12 Dec 2023 17:39:14 +0000 (+0000) Subject: repair type for 2nd arg of read(2) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2c98d8df2b3d00295c27816a5c04ee619bb09f26;p=openbsd repair type for 2nd arg of read(2) --- 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);