projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2004fce
)
Print the systemd version in a format that dracut likes
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Fri, 4 Jan 2019 14:07:43 +0000
(15:07 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Sun, 6 Jan 2019 12:57:31 +0000
(13:57 +0100)
- systemd 240-63-g4199f68+
+ systemd 240 (240-63-g4199f68+)
Sad, but easy.
Fixes #11330.
src/basic/util.c
patch
|
blob
|
history
diff --git
a/src/basic/util.c
b/src/basic/util.c
index
96c314e
..
e577c93
100644
(file)
--- 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;
}