diff --git a/hdfs/env_hdfs.h b/hdfs/env_hdfs.h index 33f9f38e2..d2afbfb3c 100644 --- a/hdfs/env_hdfs.h +++ b/hdfs/env_hdfs.h @@ -102,7 +102,7 @@ class HdfsEnv : public Env { virtual void Schedule(void (*function)(void* arg), void* arg, Priority pri = LOW, void* tag = nullptr, void (*unschedFunction)(void* arg) = 0) { - posixEnv->Schedule(function, arg, pri, tag); + posixEnv->Schedule(function, arg, pri, tag, unschedFunction); } virtual int UnSchedule(void* tag, Priority pri) {