Skip to content

Commit a649b31

Browse files
committed
Revert "posix: device_io: mark pwrite() buf as const"
This reverts commit c14f97f. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent da48a04 commit a649b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/posix/options/device_io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ int pselect(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
9999
return zvfs_select(nfds, readfds, writefds, exceptfds, timeout, sigmask);
100100
}
101101

102-
ssize_t pwrite(int fd, const void *buf, size_t count, off_t offset)
102+
ssize_t pwrite(int fd, void *buf, size_t count, off_t offset)
103103
{
104104
size_t off = (size_t)offset;
105105

0 commit comments

Comments
 (0)