run-tests: Add missing newlines in error messages
Unlike the various g_message() macros, the g_print() functions do not add an implicit newline at the end of the message. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3599>
This commit is contained in:
parent
68fe35d1a2
commit
e7691bd3df
@ -69,13 +69,13 @@ main (int argc, char **argv)
|
|||||||
argc - 2, (const char**)argv + 2,
|
argc - 2, (const char**)argv + 2,
|
||||||
&error))
|
&error))
|
||||||
{
|
{
|
||||||
g_printerr ("Failed to defined ARGV: %s", error->message);
|
g_printerr ("Failed to defined ARGV: %s\n", error->message);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (argc < 2)
|
if (argc < 2)
|
||||||
{
|
{
|
||||||
g_printerr ("Missing filename");
|
g_printerr ("Missing filename\n");
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user