]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
bench/dumb_backend.cc: check return value of lseek()
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 28 May 2013 12:41:30 +0000 (14:41 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 31 May 2013 17:15:22 +0000 (19:15 +0200)
commitdb2fbb1d61299a9de2e2c9df5d6a3f5727172009
treee1af0b4fabb76eea3fdcf5b9330c81009dd10a35
parenta7a0425de7b1933fc53f1f5f3f3309adebd892bb
bench/dumb_backend.cc: check return value of lseek()

CID 743395 (#1 of 1): Unchecked return value from library (CHECKED_RETURN)
  check_return: Calling function "lseek(fd, offset, 0)" without checking
   return value. This library function may fail and return an error code.
  unchecked_value: No check of the return value of "lseek(fd, offset, 0)".

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/test/bench/dumb_backend.cc