projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdd8377
)
screenshooter: Add missing newline and use program_invocation_short_name
author
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 13 Aug 2013 05:15:38 +0000
(22:15 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 13 Aug 2013 05:15:38 +0000
(22:15 -0700)
clients/screenshot.c
patch
|
blob
|
history
diff --git
a/clients/screenshot.c
b/clients/screenshot.c
index
1c0f203
..
2a6d9b3
100644
(file)
--- a/
clients/screenshot.c
+++ b/
clients/screenshot.c
@@
-268,8
+268,8
@@
int main(int argc, char *argv[])
if (getenv("WAYLAND_SOCKET") == NULL) {
fprintf(stderr, "%s must be launched by weston.\n"
- "Use the MOD+S shortcut to take a screenshot.",
-
argv[0]
);
+ "Use the MOD+S shortcut to take a screenshot.
\n
",
+
program_invocation_short_name
);
return -1;
}