Fix: Make sure g_print is followed by a newline

This commit is contained in:
Denis Kenzior 2010-03-30 14:38:06 -05:00
parent 45e6f5cb39
commit 6b33c5c4e6
1 changed files with 2 additions and 2 deletions

View File

@ -303,7 +303,7 @@ static gboolean create_tcp(const char *modem_path, int port)
sk = socket(PF_INET, SOCK_STREAM, 0);
if (sk < 0) {
g_print("Can't create tcp/ip socket: %s (%d)",
g_print("Can't create tcp/ip socket: %s (%d)\n",
strerror(errno), errno);
return FALSE;
}
@ -346,7 +346,7 @@ static gboolean create_unix(const char *modem_path, const char *sock_path)
sk = socket(AF_UNIX, SOCK_STREAM, 0);
if (sk < 0) {
g_print("Can't create unix socket: %s (%d)",
g_print("Can't create unix socket: %s (%d)\n",
strerror(errno), errno);
return FALSE;