am 496fc30d: am af2cd21d: Merge "When new error happend,then errno should be updated accordingly. Otherwise, need to keep previous errno."

* commit '496fc30d9988ff8de8eefc575cb8c8335ec8cf8e':
  When new error happend,then errno should be updated accordingly. Otherwise, need to keep previous errno.