pud: fix closing fd
authorFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 22 Oct 2012 12:20:16 +0000 (14:20 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 22 Oct 2012 13:02:51 +0000 (15:02 +0200)
commit062ed0f85226842cdacc5a7393350c21203e81fe
tree83a9e9d6ff45d630ea5df20575ad3f379431d63c
parentc43b2d10570e002acb157443405c20ab522e2d1b
pud: fix closing fd

Coverity:
CID 739704 (#1 of 1): Argument cannot be negative (NEGATIVE_RETURNS)
At (7): "fd" is passed to a parameter that cannot be negative.

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