am 9e08c51e: Clear errno before call to strtol(3).

* commit '9e08c51eb432004366b07632650b0dfe02bf7160':
  Clear errno before call to strtol(3).