1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 14:55:37 +03:00

udevadm: add a workaround for dracut

Also add a comment, so we don't fall into the same trap again.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-01-02 10:26:16 +01:00
parent dcb905b61b
commit 48020979d6

View File

@ -4,6 +4,7 @@
#include <stdio.h>
#include "build.h"
#include "macro.h"
int info_main(int argc, char *argv[], void *userdata);
int trigger_main(int argc, char *argv[], void *userdata);
@ -15,6 +16,7 @@ int test_main(int argc, char *argv[], void *userdata);
int builtin_main(int argc, char *argv[], void *userdata);
static inline int print_version(void) {
puts(GIT_VERSION);
/* Dracut relies on the version being a single integer */
puts(STRINGIFY(PROJECT_VERSION));
return 0;
}