commit | 473f248d7ef31a81d526257f1b309e549abb195c | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Mon Aug 12 22:15:38 2013 -0700 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Mon Aug 12 22:15:38 2013 -0700 |
tree | b99b79244e84981e51d11f3ce4cc7c61d0cc3111 | |
parent | bdd8377312b275625ad4e9c07f79e18d157be298 [diff] [blame] |
screenshooter: Add missing newline and use program_invocation_short_name
diff --git a/clients/screenshot.c b/clients/screenshot.c index 1c0f203..2a6d9b3 100644 --- a/clients/screenshot.c +++ b/clients/screenshot.c
@@ -268,8 +268,8 @@ 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; }