From: Francis Deslauriers Date: Thu, 2 Apr 2020 21:27:03 +0000 (-0400) Subject: lttng-crash: clean-up: fix alignment of format string X-Git-Tag: v2.13.0-rc1~678 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6f4a662d3dededb1fbc0cc4516965ff3aa47062f;p=lttng-tools.git lttng-crash: clean-up: fix alignment of format string Signed-off-by: Francis Deslauriers Change-Id: I893a8ab7cbc0ad35a4ebabcf5017dbc83be1efc3 Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-crash/lttng-crash.c b/src/bin/lttng-crash/lttng-crash.c index 98c52c59d..262cd7cc0 100644 --- a/src/bin/lttng-crash/lttng-crash.c +++ b/src/bin/lttng-crash/lttng-crash.c @@ -217,7 +217,7 @@ static void usage(void) static void version(FILE *ofp) { fprintf(ofp, "%s (LTTng Crash Trace Viewer) " VERSION " - " VERSION_NAME -"%s%s\n", + "%s%s\n", progname, GIT_VERSION[0] == '\0' ? "" : " - " GIT_VERSION, EXTRA_VERSION_NAME[0] == '\0' ? "" : " - " EXTRA_VERSION_NAME);