diff options
author | Richard Yao <ryao@gentoo.org> | 2013-01-07 08:50:34 -0500 |
---|---|---|
committer | Richard Yao <ryao@cs.stonybrook.edu> | 2013-01-14 12:19:33 -0500 |
commit | f6b4945845bfefba07d4deac984a53138d3ff38b (patch) | |
tree | cbc7bcf9846822683b549dc6abfd5b47d8b6c18a /src/udev/udevadm.c | |
parent | 09f41d6de47b6e4a4aea9c0d9c73a3e07c5502b3 (diff) |
Make binaries report udev version compatibility version instead of eudev version
Software such as dracut performs a sanity check on udev by querying the
udev tools for the version. Reporting the eudev version causes this
check to fail, so we resort to reporting the udev compatibility
versionj.
Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
Diffstat (limited to 'src/udev/udevadm.c')
-rw-r--r-- | src/udev/udevadm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevadm.c b/src/udev/udevadm.c index b91d3ccb16..82852fb086 100644 --- a/src/udev/udevadm.c +++ b/src/udev/udevadm.c @@ -34,7 +34,7 @@ void udev_main_log(struct udev *udev, int priority, static int adm_version(struct udev *udev, int argc, char *argv[]) { - printf("%s\n", VERSION); + printf("%s\n", UDEV_VERSION); return 0; } |