summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_logind.c
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-05-26 08:42:38 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-05-26 08:42:38 -0400
commit3c6cb6a02b154ce6b7404653958aab82c58a8002 (patch)
tree6dcb34ba4ac56e4820372919aa50f8702a8fec49 /src/lib/elput/elput_logind.c
parent2af9f15bf93e5a4e6c8192df59fd59b1a6fa058e (diff)
elput: Minor formatting fixes
NB: No functional changes, just cleanup of formatting 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elput/elput_logind.c b/src/lib/elput/elput_logind.c
index 9658fd2d4d..57b00dc8d4 100644
--- a/src/lib/elput/elput_logind.c
+++ b/src/lib/elput/elput_logind.c
@@ -512,7 +512,7 @@ _logind_open_async(Elput_Manager *em, const char *path, int flags)
512 intptr_t fd = -1; 512 intptr_t fd = -1;
513 513
514 if ((stat(path, &st) < 0) || (!S_ISCHR(st.st_mode))) 514 if ((stat(path, &st) < 0) || (!S_ISCHR(st.st_mode)))
515 _logind_pipe_write_fd(em, fd); 515 _logind_pipe_write_fd(em, fd);
516 else 516 else
517 _logind_device_take_async(em, flags, major(st.st_rdev), minor(st.st_rdev)); 517 _logind_device_take_async(em, flags, major(st.st_rdev), minor(st.st_rdev));
518} 518}