diff options
Diffstat (limited to 'cpukit/libcsupport/src/fcntl.c')
-rw-r--r-- | cpukit/libcsupport/src/fcntl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/fcntl.c b/cpukit/libcsupport/src/fcntl.c index 587726f885..819b2f7778 100644 --- a/cpukit/libcsupport/src/fcntl.c +++ b/cpukit/libcsupport/src/fcntl.c @@ -132,8 +132,8 @@ int fcntl( break; } if (ret >= 0) { - if (iop->handlers->fcntl) { - int err = (*iop->handlers->fcntl)( cmd, iop ); + if (iop->handlers->fcntl_h) { + int err = (*iop->handlers->fcntl_h)( cmd, iop ); if (err) { errno = err; ret = -1; |