Fix error value in storage_get_primary_sdcard 58/208558/1 accepted/tizen/4.0/unified/20190626.083842 submit/tizen_4.0/20190626.022138
authorHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 26 Jun 2019 02:20:59 +0000 (11:20 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 26 Jun 2019 02:20:59 +0000 (11:20 +0900)
Change-Id: I71948148104ef35fdb26d4da1d11c31d6da9422d
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
src/storage-inhouse.c

index 4031dec..193de46 100755 (executable)
@@ -167,7 +167,7 @@ API int storage_get_primary_sdcard(int *storage_id, char **path)
                return STORAGE_ERROR_INVALID_PARAMETER;
 
        if (!storage_ext_is_supported())
-               return STORAGE_ERROR_NO_DEVICE;
+               return STORAGE_ERROR_NOT_SUPPORTED;
 
        result = dbus_method_call_sync(STORAGE_EXT_BUS_NAME,
                        STORAGE_EXT_PATH_MANAGER,