screenshooter: Add missing newline and use program_invocation_short_name
This commit is contained in:
parent
bdd8377312
commit
473f248d7e
@ -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…
Reference in New Issue
Block a user