Change-Id: If2a51ff14cf986bf41952ee97dda59be67b19c02
////// WRITE SESSION TYPE /////////
snprintf(filename, sizeof(filename)-1, "/tmp/mm_session_%d", mypid);
////// WRITE SESSION TYPE /////////
snprintf(filename, sizeof(filename)-1, "/tmp/mm_session_%d", mypid);
- fd = open(filename, O_WRONLY | O_CREAT, 064);
+ fd = open(filename, O_WRONLY | O_CREAT, 0644);
if (fd < 0) {
debug_error("open() failed with %d", errno);
return MM_ERROR_FILE_WRITE;
if (fd < 0) {
debug_error("open() failed with %d", errno);
return MM_ERROR_FILE_WRITE;