From 2d41d0d9a66305304652ab7487f8751716df5905 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 12 Aug 2013 22:15:38 -0700 Subject: screenshooter: Add missing newline and use program_invocation_short_name --- clients/screenshot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/screenshot.c b/clients/screenshot.c index 17e21829..0a6c8cce 100644 --- 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; } -- cgit v1.2.3