projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96f0824
)
clients: fix an error message
author
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 8 Aug 2013 07:13:47 +0000
(17:13 +1000)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 8 Aug 2013 20:46:14 +0000
(13:46 -0700)
_GNU_SOURCE is always true as of
c228e23b055f54d29f2df
, so
program_invocation_short_name is available.
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
9ec9786
..
cbf8bf5
100644
(file)
--- a/
clients/window.c
+++ b/
clients/window.c
@@
-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);
}