[PATCH] client: Add missing newlines on error messages
[email protected] Fri, 4 Jul 2025 03:48:11 +0900
| Newsgroups | dev.linux.lists.connman |
|---|---|
| Message-ID | <[email protected]> |
From: Jaeyoon Jung <[email protected]> This adds missing newlines at the end of some error messages. --- client/commands.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/commands.c b/client/commands.c index 53cc14c8..376ccdb5 100644 --- a/client/commands.c +++ b/client/commands.c @@ -1874,7 +1874,7 @@ static int session_create_cb(DBusMessageIter *iter, int errnum, char *str; if (error) { - fprintf(stderr, "Error creating session: %s", error); + fprintf(stderr, "Error creating session: %s\n", error); session_notify_remove(); return 0; } @@ -2044,7 +2044,7 @@ static int session_destroy_cb(DBusMessageIter *iter, int errnum, const char *error, void *user_data) { if (error) { - fprintf(stderr, "Error destroying session: %s", error); + fprintf(stderr, "Error destroying session: %s\n", error); return 0; } @@ -3026,7 +3026,7 @@ static int populate_service_hash(DBusMessageIter *iter, int errnum, const char *error, void *user_data) { if (error) { - fprintf(stderr, "Error getting services: %s", error); + fprintf(stderr, "Error getting services: %s\n", error); return 0; } @@ -3086,7 +3086,7 @@ static int populate_vpnconnection_hash(DBusMessageIter *iter, int errnum, DBusMessageIter array; if (error) { - fprintf(stderr, "Error getting VPN connections: %s", error); + fprintf(stderr, "Error getting VPN connections: %s\n", error); return 0; } @@ -3158,7 +3158,7 @@ static int populate_peer_hash(DBusMessageIter *iter, int errnum, const char *error, void *user_data) { if (error) { - fprintf(stderr, "Error getting peers: %s", error); + fprintf(stderr, "Error getting peers: %s\n", error); return 0; } -- 2.47.2