block: Fix dbus method string format for GetControl
[platform/core/system/storaged.git] / src / block / block.c
index 601ef4e..8c69605 100644 (file)
@@ -3502,7 +3502,7 @@ static const dbus_method_s manager_methods[] = {
        { "PrivateUnmount",   "ii",                  "i", request_private_unmount_block },
        { "CheckSpeed",        "i",                  "i", request_check_speed },
        { "Control",           "i",                  "i", request_control_block },
-       { "GetControl",        "i",                  "i", request_getcontrol_block },
+       { "GetControl",       NULL,                  "i", request_getcontrol_block },
 };
 
 static const dbus_interface_u block_interface = {