Use %d for ping value, as on Travis it's not always 0.
Merged pull request #767