clients: fix an error message
_GNU_SOURCE is always true as of c228e23b05, so
program_invocation_short_name is available.
This commit is contained in:
committed by
Kristian Høgsberg
parent
96f0824892
commit
3ca59d3968
+1
-1
@@ -5330,7 +5330,7 @@ void *
|
|||||||
fail_on_null(void *p)
|
fail_on_null(void *p)
|
||||||
{
|
{
|
||||||
if (p == NULL) {
|
if (p == NULL) {
|
||||||
fprintf(stderr, "wayland-scanner: out of memory\n");
|
fprintf(stderr, "%s: out of memory\n", program_invocation_short_name);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user