diff options
Diffstat (limited to 'xlators/features/changelog/src/changelog-rpc-common.c')
-rw-r--r-- | xlators/features/changelog/src/changelog-rpc-common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/features/changelog/src/changelog-rpc-common.c b/xlators/features/changelog/src/changelog-rpc-common.c index e8905a87f62..4525923d34d 100644 --- a/xlators/features/changelog/src/changelog-rpc-common.c +++ b/xlators/features/changelog/src/changelog-rpc-common.c @@ -10,6 +10,8 @@ #include "changelog-rpc-common.h" #include "changelog-messages.h" + +#include "syscall.h" /** ***************************************************** Client Interface @@ -271,7 +273,7 @@ changelog_rpc_server_destroy (xlator_t *this, rpcsvc_t *rpc, char *sockfile, } (void) rpcsvc_unregister_notify (rpc, fn, this); - unlink (sockfile); + sys_unlink (sockfile); GF_FREE (rpc); } |