summaryrefslogtreecommitdiff
path: root/hdfs
diff options
context:
space:
mode:
authorxh931076284 <931076284@qq.com>2016-09-15 01:17:34 +0800
committerIslam AbdelRahman <tec@fb.com>2016-09-14 10:17:34 -0700
commit3639f328895779ce58c1af3276d56fb17d125214 (patch)
tree44fe8348cdf3535a3277537dd3de46279c56c540 /hdfs
parent8e061f97402e496d04331a9c3c8adffa55ff85d5 (diff)
Fix bug in UnScSigned-off-by: xh931076284 <931076284@qq.com> (#1336)
Fix HdfsEnv::UnSchedule() API error
Diffstat (limited to 'hdfs')
-rw-r--r--hdfs/env_hdfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hdfs/env_hdfs.h b/hdfs/env_hdfs.h
index ab27e0440..11879e332 100644
--- a/hdfs/env_hdfs.h
+++ b/hdfs/env_hdfs.h
@@ -106,7 +106,7 @@ class HdfsEnv : public Env {
}
virtual int UnSchedule(void* tag, Priority pri) {
- posixEnv->UnSchedule(tag, pri);
+ return posixEnv->UnSchedule(tag, pri);
}
virtual void StartThread(void (*function)(void* arg), void* arg) {