summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-18 07:22:18 -0700
committerMatthias Clasen <mclasen@redhat.com>2019-07-18 07:22:18 -0700
commitd0dc07fa02d7f459c187803b9552bd834639e524 (patch)
tree265b4b97f6bae3ade7fdc3ad753bba316a4eb20b /utils
parent7bde0af1218a6729ac475b70a8eb571d6c1b5da5 (diff)
downloadpango-d0dc07fa02d7f459c187803b9552bd834639e524.tar.gz
pango-list: Be nice
No need to dump core because somebody typoed an option.
Diffstat (limited to 'utils')
-rw-r--r--utils/pango-list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/pango-list.c b/utils/pango-list.c
index 7440e18b..c0f0d4ae 100644
--- a/utils/pango-list.c
+++ b/utils/pango-list.c
@@ -52,9 +52,9 @@ main (int argc,
if (!g_option_context_parse (context, &argc, &argv, &error))
{
if (error != NULL)
- g_error ("%s", error->message);
+ g_printerr ("%s\n", error->message);
else
- g_error ("Option parse error");
+ g_printerr ("Option parse error\n");
exit (1);
}