nameservice: check return value of fcntl
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 10:40:45 +0000 (12:40 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 11:45:14 +0000 (13:45 +0200)
commitff32a94d8124569d245728b65b622fde757fe0dc
tree27b02888c0c51ff854a80e293441eac623cb2751
parent27c8f9da35c24bdd2f924e8686fcbaa9e1c058b1
nameservice: check return value of fcntl

Coverity:
CID 739618 (#1 of 1): Unchecked return value (CHECKED_RETURN)
At (4): Calling function "fcntl(fd, 4, 1)" without checking return value.
        This library function may fail and return an error code.
At (5): No check of the return value of "fcntl(fd, 4, 1)".

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/nameservice/src/mapwrite.c