Fix error value in storage_get_primary_sdcard
[platform/core/system/libstorage.git] / 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,