Debug with \n

This commit is contained in:
Aoran Zeng 2025-08-11 03:00:26 +08:00
parent 13d4c7a43f
commit 492ca4288c
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

View File

@ -289,7 +289,7 @@ xy_strdup (const char *str)
{
if (!str)
{
fprintf (stderr, "xy.h: xy_strdup() called with NULL!");
fprintf (stderr, "xy.h: xy_strdup() called with NULL!\n");
return NULL;
}