summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/read.22
-rw-r--r--lib/libc/sys/write.22
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2
index da93d6f..2271141 100644
--- a/lib/libc/sys/read.2
+++ b/lib/libc/sys/read.2
@@ -85,7 +85,7 @@ structure is defined as:
.Pp
.Bd -literal -offset indent -compact
struct iovec {
- char *iov_base; /* Base address. */
+ void *iov_base; /* Base address. */
size_t iov_len; /* Length. */
};
.Ed
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
index 5f8776f..299dacd 100644
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -85,7 +85,7 @@ structure is defined as:
.Pp
.Bd -literal -offset indent -compact
struct iovec {
- char *iov_base; /* Base address. */
+ void *iov_base; /* Base address. */
size_t iov_len; /* Length. */
};
.Ed
OpenPOWER on IntegriCloud