diff options
author | Masamichi Hosoda <trueroad@trueroad.jp> | 2016-06-30 23:15:41 +0900 |
---|---|---|
committer | Masamichi Hosoda <trueroad@trueroad.jp> | 2016-07-08 06:45:25 +0900 |
commit | f97af256ef891d0501c9a6d7985b74a23d7ebe6a (patch) | |
tree | f49dbdbf7fbe7d6aae65f724b8d13dc01375e6a9 /lily | |
parent | e5c35162e112e97b1e3562cb2386f76160d48339 (diff) |
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 ().
Diffstat (limited to 'lily')
-rw-r--r-- | lily/general-scheme.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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; |