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:
Peter Hutterer
2013-08-08 17:13:47 +10:00
committed by Kristian Høgsberg
parent 96f0824892
commit 3ca59d3968
+1 -1
View File
@@ -5330,7 +5330,7 @@ void *
fail_on_null(void *p)
{
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);
}