Fix core_pattern being unset
authorTim Pepper <timothy.c.pepper@linux.intel.com>
Fri, 2 Nov 2012 23:21:10 +0000 (16:21 -0700)
committerTim Pepper <timothy.c.pepper@linux.intel.com>
Fri, 2 Nov 2012 23:21:10 +0000 (16:21 -0700)
commit8453ea92e49fbaba384361247df2b5ba7b8a8b82
tree97fb11ce692d9ebca13d327ea1b245b34960af5f
parent260e1d4c48244ee00d098e1d4aa22e737b7bf3ec
Fix core_pattern being unset

In the commited version I lost a multiply by 100 that'd previously had.
I'd intended for the free metric to be a percentage represented by an
integer with value 0..100.  This error means the core_pattern was unset
just at the first call to scan_folder().  That is corrected here.

Additionally the core_pattern is explicitly set on start now.

And the log messages are a bit more clear.

Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
src/coredump.c
src/corewatcher.c
src/corewatcher.h