From 5b9b73a2cc1009cc9356a76465c903981b02cca4 Mon Sep 17 00:00:00 2001 From: Hyotaek Shim Date: Wed, 26 Jun 2019 11:20:59 +0900 Subject: [PATCH] Fix error value in storage_get_primary_sdcard Change-Id: I71948148104ef35fdb26d4da1d11c31d6da9422d Signed-off-by: Hyotaek Shim --- src/storage-inhouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage-inhouse.c b/src/storage-inhouse.c index 4031dec..193de46 100755 --- a/src/storage-inhouse.c +++ b/src/storage-inhouse.c @@ -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, -- 2.7.4