libs/libc: Correct some errors in psignal() and stpncpy().

This commit is contained in:
Lokesh B V
2018-10-24 17:15:51 -06:00
committed by Gregory Nutt
parent f185c79ea6
commit 56b4bc8bcb
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ void psignal(int signum, FAR const char *message)
if (message != NULL)
{
(void)fprintf(stderr, "%s: %s\n", strsignal(signum));
(void)fprintf(stderr, "%s: %s\n", message, strsignal(signum));
}
else
{