summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libcsupport/src/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/libcsupport/src/write.c')
-rw-r--r--c/src/exec/libcsupport/src/write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/libcsupport/src/write.c b/c/src/exec/libcsupport/src/write.c
index a47a4f40a9..aae273a340 100644
--- a/c/src/exec/libcsupport/src/write.c
+++ b/c/src/exec/libcsupport/src/write.c
@@ -41,10 +41,10 @@ ssize_t write(
* Now process the write() request.
*/
- if ( !iop->handlers->write )
+ if ( !iop->handlers->write_h )
set_errno_and_return_minus_one( ENOTSUP );
- rc = (*iop->handlers->write)( iop, buffer, count );
+ rc = (*iop->handlers->write_h)( iop, buffer, count );
if ( rc > 0 )
iop->offset += rc;