From f97af256ef891d0501c9a6d7985b74a23d7ebe6a Mon Sep 17 00:00:00 2001 From: Masamichi Hosoda Date: Thu, 30 Jun 2016 23:15:41 +0900 Subject: [PATCH] Issue 4910/2: Replace the warning message output method in ly_run_command () This commit replaces the warning message output method in ly_run_command () from fprintf () to warning (). --- lily/general-scheme.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lily/general-scheme.cc b/lily/general-scheme.cc index 302dbd500d..5f16d93408 100644 --- a/lily/general-scheme.cc +++ b/lily/general-scheme.cc @@ -620,7 +620,8 @@ ly_run_command (char *argv[], char **standard_output, char **standard_error) standard_output, standard_error, &exit_status, &error)) { - fprintf (stderr, "failed (%d): %s: %s\n", exit_status, argv[0], error->message); + warning (_f ("g_spawn_sync failed (%d): %s: %s", + exit_status, argv[0], error->message)); g_error_free (error); if (!exit_status) exit_status = -1; -- 2.39.2