Add the missing arg in Errorf.
Merge pull request #1636 from dchen1107/termination

Add the missing arg in Errorf.