mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 11:18:43 +02:00
screenshooter: Add missing newline and use program_invocation_short_name
This commit is contained in:
parent
ce5d935880
commit
2d41d0d9a6
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue