libstorage: Do not use thread-unsafe function and code clearance 15/44815/2
authorJiyoung Yun <jy910.yun@samsung.com>
Tue, 28 Jul 2015 06:57:42 +0000 (15:57 +0900)
committerJiyoung Yun <jy910.yun@samsung.com>
Tue, 28 Jul 2015 07:26:06 +0000 (16:26 +0900)
commitfbb974d6a6eda4d3ed1fc6975e2b0dd77b72f3dd
treeb81af4731ccfc5ee0416f961c03e018573dfbe61
parentff98211fd608bfc88edbb805eaf3d8e362108ade
libstorage: Do not use thread-unsafe function and code clearance

strerror() is not safety on multi thread environment.
Add initialize input buffer.

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: I159b6a2162ef73e1dd337910a5b2e9a80e1354bd
src/statvfs.c
src/storage-sdcard.c
src/storage.c