Whamcloud - gitweb
libuuid: add error checking to syscalls in get_clock()
authorTheodore Ts'o <tytso@mit.edu>
Sat, 11 Jan 2014 02:06:07 +0000 (21:06 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 11 Jan 2014 02:06:07 +0000 (21:06 -0500)
commitf7d7905976d2db2497a0b2b87a73fc85e92ff808
treeef3d6c760eeec6c6e3d9a286c467cfa9c4841b29
parent2500ebfc89f52a67de4c786f84e6a6c46d3a8d15
libuuid: add error checking to syscalls in get_clock()

Also remove redundant close() of state_fd, since the fclose() of
state_f will result in the fd being closed.

Addresses-Coverity-Id: #1049146
Addresses-Coverity-Id: #26092

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/uuid/gen_uuid.c