fixup! Modify for Coding Rule 89/150089/1
authorSeungbae Shin <seungbae.shin@samsung.com>
Thu, 14 Sep 2017 08:10:43 +0000 (17:10 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Thu, 14 Sep 2017 08:10:50 +0000 (17:10 +0900)
Change-Id: If2a51ff14cf986bf41952ee97dda59be67b19c02

mm_session.c

index 4890afb..b7e8a49 100644 (file)
@@ -242,7 +242,7 @@ int _mm_session_util_write_type(int app_pid, int sessiontype)
 
        ////// 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;