libstorage: Add memory size check routine 86/39886/1 accepted/tizen/common/20150526.081221 accepted/tizen/mobile/20150526.094906 accepted/tizen/tv/20150526.094350 accepted/tizen/wearable/20150526.094645 submit/tizen/20150526.043931
authorJiyoung Yun <jy910.yun@samsung.com>
Thu, 21 May 2015 08:03:05 +0000 (17:03 +0900)
committerJiyoung Yun <jy910.yun@samsung.com>
Tue, 26 May 2015 04:26:38 +0000 (13:26 +0900)
commit1ed1220fc817b109368d1f587c75faa1d3057b46
tree26c80357108bcb1373e8342119ece9289f9386ef
parentb1fbcda1bd8024cdb6f8b0d93a9cf6566e36f306
libstorage: Add memory size check routine

If a memory size is zero, it does not try to divide by zero.

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