Change-Id: I1745aab3bea98af14a8726f76753d799132ab47f
Signed-off-by: Randeep Singh <randeep.s@samsung.com>
SAFE_DELETE(realpath_res);
return std::string();
}
SAFE_DELETE(realpath_res);
return std::string();
}
+ int ret = fseek(file, 0, SEEK_SET);
- fseek(file, 0, SEEK_SET);
+ if(0 != ret) {
+ _INFO("fseek returned error code[%d]", ret);
+ }
char *config = (char*)(calloc(1, size + 1));
int num_bytes = fread(config, size, 1, file);
char *config = (char*)(calloc(1, size + 1));
int num_bytes = fread(config, size, 1, file);