screenshooter: Add missing newline and use program_invocation_short_name

This commit is contained in:
Kristian Høgsberg 2013-08-12 22:15:38 -07:00
parent bdd8377312
commit 473f248d7e

View File

@ -268,8 +268,8 @@ int main(int argc, char *argv[])
if (getenv("WAYLAND_SOCKET") == NULL) { if (getenv("WAYLAND_SOCKET") == NULL) {
fprintf(stderr, "%s must be launched by weston.\n" fprintf(stderr, "%s must be launched by weston.\n"
"Use the MOD+S shortcut to take a screenshot.", "Use the MOD+S shortcut to take a screenshot.\n",
argv[0]); program_invocation_short_name);
return -1; return -1;
} }