From: Zbigniew Jędrzejewski-Szmek Date: Fri, 4 Jan 2019 14:07:43 +0000 (+0100) Subject: Print the systemd version in a format that dracut likes X-Git-Tag: v241~178 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1028f576664744ecc6f9fbb3707879ebf679659;p=platform%2Fupstream%2Fsystemd.git Print the systemd version in a format that dracut likes - systemd 240-63-g4199f68+ + systemd 240 (240-63-g4199f68+) Sad, but easy. Fixes #11330. --- diff --git a/src/basic/util.c b/src/basic/util.c index 96c314e..e577c93 100644 --- a/src/basic/util.c +++ b/src/basic/util.c @@ -557,7 +557,7 @@ uint64_t system_tasks_max_scale(uint64_t v, uint64_t max) { } int version(void) { - puts("systemd " GIT_VERSION "\n" + puts("systemd " STRINGIFY(PROJECT_VERSION) " (" GIT_VERSION ")\n" SYSTEMD_FEATURES); return 0; }