summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hcid/passkey-agent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hcid/passkey-agent.c b/hcid/passkey-agent.c
index db4d6874..bc749da5 100644
--- a/hcid/passkey-agent.c
+++ b/hcid/passkey-agent.c
@@ -195,7 +195,7 @@ static int register_agent(DBusConnection *conn, const char *agent_path,
if (!reply) {
fprintf(stderr, "Can't register passkey agent\n");
if (dbus_error_is_set(&err)) {
- fprintf(stderr, "%s", err.message);
+ fprintf(stderr, "%s\n", err.message);
dbus_error_free(&err);
}
return -1;
@@ -246,7 +246,7 @@ static int unregister_agent(DBusConnection *conn, const char *agent_path,
if (!reply) {
fprintf(stderr, "Can't unregister passkey agent\n");
if (dbus_error_is_set(&err)) {
- fprintf(stderr, "%s", err.message);
+ fprintf(stderr, "%s\n", err.message);
dbus_error_free(&err);
}
return -1;