summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/e_sys_l2ping.c3
-rw-r--r--src/bin/e_sys_main.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/e_sys_l2ping.c b/src/bin/e_sys_l2ping.c
index faab77ec99..236364d482 100644
--- a/src/bin/e_sys_l2ping.c
+++ b/src/bin/e_sys_l2ping.c
@@ -10,7 +10,7 @@
#endif
double
-e_sys_l2ping(const char *bluetooth_mac EINA_UNUSED)
+e_sys_l2ping(const char *bluetooth_mac)
{
#ifdef HAVE_BLUETOOTH
char send_buf[L2CAP_CMD_HDR_SIZE + 1];
@@ -95,6 +95,7 @@ e_sys_l2ping(const char *bluetooth_mac EINA_UNUSED)
return ecore_time_get() - start;
#else
+ (void) bluetooth_mac;
fprintf(stderr, "e_sys_l2ping nop\n");
return -1;
#endif
diff --git a/src/bin/e_sys_main.c b/src/bin/e_sys_main.c
index 70f836c953..b48f1c08b6 100644
--- a/src/bin/e_sys_main.c
+++ b/src/bin/e_sys_main.c
@@ -188,7 +188,7 @@ main(int argc,
latency = e_sys_l2ping(output);
eina_convert_dtoa(latency, tmp);
- fprintf(stdout, "%s\n", tmp);
+ fputs(tmp, stdout);
return (latency < 0) ? 1 : 0;
}