summaryrefslogtreecommitdiffstats
path: root/src/H5system.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5system.c')
-rw-r--r--src/H5system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5system.c b/src/H5system.c
index 46fea7a..8c0af55 100644
--- a/src/H5system.c
+++ b/src/H5system.c
@@ -167,7 +167,7 @@ Pflock(int fd, int operation)
flk.l_pid = 0; /* not used with set */
/* Lock or unlock */
- if (HDfcntl(fd, F_SETLK, &flk) < 0)
+ if (fcntl(fd, F_SETLK, &flk) < 0)
return -1;
return 0;