Modified deprecated file(/proc/293/oom_adj) to /proc/293/oom_score_adj 79/35279/1 accepted/tizen/mobile/20150213.030651 accepted/tizen/tv/20150216.011222 accepted/tizen/wearable/20150212.130833 submit/tizen_mobile/20150212.124014 submit/tizen_tv/20150212.124022 submit/tizen_wearable/20150212.124029
authorWonkeun Oh <wonkeun.oh@samsung.com>
Wed, 11 Feb 2015 11:18:08 +0000 (20:18 +0900)
committerWonkeun Oh <wonkeun.oh@samsung.com>
Wed, 11 Feb 2015 11:18:08 +0000 (20:18 +0900)
Change-Id: Iabf02b8f758367a3533ceed2194c4972564b30d1

ism/src/ise_preexec.cpp

index 72a18cd014fc06804c1e42a9ffc7a9ef15d5aafa..837a66d10540801f331eb62ddfc88afed55d0e9a 100644 (file)
@@ -286,7 +286,7 @@ static void __set_oom ()
 
     /* we should reset oomadj value as default because child
     inherits from parent oom_adj*/
-    snprintf (buf, MAX_LOCAL_BUFSZ, "/proc/%d/oom_adj", getpid ());
+    snprintf (buf, MAX_LOCAL_BUFSZ, "/proc/%d/oom_score_adj", getpid ());
     fp = fopen (buf, "w");
     if (fp == NULL)
         return;