Use libsys_is_container() 30/273730/1 accepted/tizen/unified/20220526.144340 accepted/tizen/unified/20220530.140627 submit/tizen/20220525.001052 submit/tizen/20220528.014654
authorHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 13 Apr 2022 05:50:11 +0000 (14:50 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 13 Apr 2022 05:50:11 +0000 (14:50 +0900)
Change-Id: I1ec302f6ecf34f760103ad178987fed107602527
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
src/storage-inhouse.c

index 45aba82..68b0c20 100755 (executable)
@@ -456,7 +456,7 @@ API int storage_is_mounted_opt_usr(storage_part_mount_e *mounted)
        blkid_dev dev;
        int ret_val;
        bool found = false;
-       char *user_label = is_container()? CONTAINER_USER_PARTITION: USER_PARTITION;
+       char *user_label = libsys_is_container()? CONTAINER_USER_PARTITION: USER_PARTITION;
 
        if (!mounted)
                return STORAGE_ERROR_INVALID_PARAMETER;