summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_logind.c
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-05-25 15:03:15 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-05-25 15:03:15 -0400
commit03c42fd2cb523dad5602d1f5623069ea12560d9a (patch)
tree42b97b15a199a866757f2fa4652eeda6084d6bfa /src/lib/elput/elput_logind.c
parentb9ecdcef6acb19ff2cc63ba1238bafd456156dc3 (diff)
elput: Fix formatting
NB: No functional changes, just making this readable Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/elput/elput_logind.c')
-rw-r--r--src/lib/elput/elput_logind.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/lib/elput/elput_logind.c b/src/lib/elput/elput_logind.c
index 475b1c68b0..9658fd2d4d 100644
--- a/src/lib/elput/elput_logind.c
+++ b/src/lib/elput/elput_logind.c
@@ -343,11 +343,15 @@ _logind_device_take_async(Elput_Manager *em, int flags, uint32_t major, uint32_t
343 343
344 eldbus_message_arguments_append(msg, "uu", major, minor); 344 eldbus_message_arguments_append(msg, "uu", major, minor);
345 345
346 em->input.current_pending = eldbus_proxy_send(em->dbus.session, msg, _logind_device_take_cb, em, -1); 346 em->input.current_pending =
347 eldbus_proxy_send(em->dbus.session, msg, _logind_device_take_cb, em, -1);
347 if (!em->input.current_pending) CRIT("FAIL!"); 348 if (!em->input.current_pending) CRIT("FAIL!");
348 eldbus_pending_data_set(em->input.current_pending, "major", (uintptr_t*)(uintptr_t)major); 349 eldbus_pending_data_set(em->input.current_pending, "major",
349 eldbus_pending_data_set(em->input.current_pending, "minor", (uintptr_t*)(uintptr_t)minor); 350 (uintptr_t*)(uintptr_t)major);
350 eldbus_pending_data_set(em->input.current_pending, "flags", (intptr_t*)(intptr_t)flags); 351 eldbus_pending_data_set(em->input.current_pending, "minor",
352 (uintptr_t*)(uintptr_t)minor);
353 eldbus_pending_data_set(em->input.current_pending, "flags",
354 (intptr_t*)(intptr_t)flags);
351} 355}
352 356
353static int 357static int