From: Masamichi Hosoda Date: Thu, 30 Jun 2016 14:15:41 +0000 (+0900) Subject: Issue 4910/2: Replace the warning message output method in ly_run_command () X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f97af256ef891d0501c9a6d7985b74a23d7ebe6a;p=lilypond.git 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 (). --- 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;