mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
libs/libc: Correct some errors in psignal() and stpncpy().
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user