Initialize struct stat in error case correctly
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Mon, 11 Oct 2010 09:17:03 +0000 (11:17 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 11 Oct 2010 09:31:33 +0000 (11:31 +0200)
commit8661f92deddc16c69b5e9f4fcebf98e66f64f771
treee7f2877770033aed71a58ba8e088faaee4794166
parent4983ba6923a34ed7b48f1f5a5bd150249991242b
Initialize struct stat in error case correctly

In the case stat failes to gather information
about the log file, it has to initialize struct
stat. Otherwise, we will set a random file size.
src/stats.c