Remove to call rms_print_model_info() to access /dev 44/316444/2
authorYoungHun Kim <yh8004.kim@samsung.com>
Wed, 21 Aug 2024 09:28:39 +0000 (18:28 +0900)
committerYoungHun Kim <yh8004.kim@samsung.com>
Mon, 26 Aug 2024 04:28:14 +0000 (04:28 +0000)
- The following error occurs when booting at debugging function :
  systemd[1]: Started Create Static Device Nodes in /dev
  rscmgr-service[292]: DLog: inotify_add_watch failed (2)

Change-Id: I433bb179e62a081b75723e75c2247ae1af54fedb

src/CResourceService.cpp

index 6f3631765b999fd491b2e0c824f12246a3c3e2d5..3b2b140c56b1bbf9284b57e86acb6001117ac91c 100644 (file)
@@ -37,6 +37,7 @@
 int CResourceService::Init(GMainLoop *main_loop)
 {
        CResourceManager *rsc_mgr = new CResourceManager();
+
        if (rsc_mgr->RegisterResources() != RMS_OK) {
                SERVER_ERR("RegisterResources is failed");
                g_timeout_add(RM_SERVER_INVALID_TABLE_TIME_30000_MSEC, InvalidResourceTableMsgCallback, NULL);
@@ -123,6 +124,5 @@ gboolean CResourceService::WatchDogCallback(gpointer data)
 gboolean CResourceService::InvalidResourceTableMsgCallback(gpointer data)
 {
        SERVER_ERR("resource table not loaded!");
-       rms_print_model_info();
        return G_SOURCE_CONTINUE;
 }