OSDN Git Service

va_fool: check fstat result
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Tue, 14 Nov 2017 17:24:44 +0000 (09:24 -0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 16 Nov 2017 18:00:22 +0000 (10:00 -0800)
commit4794b9989b91a3326d1819b972ec9d48e4b78139
treed95c555401c20f631426e6f9f0a0e44ad9651002
parent50a77df1b7340a05e9c9099868a46b4b045b7bd4
va_fool: check fstat result

Check fstat return value for errors before attempting to use
the result.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
va/va_fool.c