diff --git a/sc2/src/sc2code/libs/log/uqmlog.c b/sc2/src/sc2code/libs/log/uqmlog.c index 1c97ce405..6a1431918 100755 --- a/sc2/src/sc2code/libs/log/uqmlog.c +++ b/sc2/src/sc2code/libs/log/uqmlog.c @@ -146,8 +146,8 @@ log_init (int max_lines) prevAbortFunc = signal (SIGABRT, abortHandler); if (prevAbortFunc == SIG_ERR) { - fprintf (stderr, "Warning: cannot install SIGABRT handler, code %d\n", - errno); + fprintf (stderr, "Warning: cannot install SIGABRT handler: %s\n", + strerror (errno)); } }