summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyerim Kim <rimi.kim@samsung.com>2016-09-01 10:56:18 (GMT)
committerHyerim Kim <rimi.kim@samsung.com>2016-09-01 10:56:18 (GMT)
commit131351c565c1bbfe4120b33dfa54c7f732798e04 (patch)
treeede29b79369a414be02b1c86fb8251cab9c4a3d3
parentc3634608aa80a63c5eb871c31292f23fd9108120 (diff)
downloadair_mediahub-131351c565c1bbfe4120b33dfa54c7f732798e04.zip
air_mediahub-131351c565c1bbfe4120b33dfa54c7f732798e04.tar.gz
air_mediahub-131351c565c1bbfe4120b33dfa54c7f732798e04.tar.bz2
Signed-off-by: Hyerim Kim <rimi.kim@samsung.com> Change-Id: I66a3e36c8debee287bf39ae9e94b7ac927490400
-rw-r--r--src/util/usb.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/util/usb.c b/src/util/usb.c
index 2d9dafb..73f0700 100644
--- a/src/util/usb.c
+++ b/src/util/usb.c
@@ -71,7 +71,11 @@ static void _device_blocked_cb(GDBusConnection *connection,
const gchar *interface_name, const gchar *signal_name,
GVariant *parameters, gpointer user_data)
{
- const gchar *uuid, *mount_point;
+ const gchar *dev_node, *sys_path;
+ const gchar *fs_usage, *fs_type, *fs_ver, *fs_uuid;
+ const gchar *mount_point;
+ gint32 block_type, read_only, state, flags, storage_id;
+ gboolean primary;
struct usb *m;
int sig;
@@ -82,7 +86,10 @@ static void _device_blocked_cb(GDBusConnection *connection,
m = user_data;
- g_variant_get(parameters, "(ss)", &uuid, &mount_point);
+ g_variant_get(parameters, "(issssssisibii)", &block_type, &dev_node,
+ &sys_path, &fs_usage, &fs_type, &fs_ver,
+ &fs_uuid, &read_only, &mount_point,
+ &state, &primary, &flags, &storage_id);
sig = E_DEVICE_BLOCKED;