examples: check value returned by ftell()
authorLudovic Rousseau <ludovic.rousseau+github@gmail.com>
Sun, 6 Oct 2013 12:23:20 +0000 (14:23 +0200)
committerLudovic Rousseau <ludovic.rousseau+github@gmail.com>
Sun, 6 Oct 2013 12:26:25 +0000 (14:26 +0200)
commit3d84bba0a7ff2d9e28f5aac43775f9a267caa4e8
treee2ba96cd602d56b413c4b64e6d509e9f51136e42
parenta9cd54f24d566062a461d27f615365f41a3d11e8
examples: check value returned by ftell()

Problem detected by the Coverity tool
CID 1042546 (#1 of 1): Argument cannot be negative (NEGATIVE_RETURNS)3.
negative_returns: "initial_pos" is passed to a parameter that cannot be
negative.

fseek(3) can't be called with a negative offset with SEEK_SET
examples/ezusb.c
libusb/version_nano.h