summaryrefslogtreecommitdiff
path: root/udev/udevinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udevinfo.c')
-rw-r--r--udev/udevinfo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/udev/udevinfo.c b/udev/udevinfo.c
index b9ee17c4f1..a97f09c3e6 100644
--- a/udev/udevinfo.c
+++ b/udev/udevinfo.c
@@ -16,6 +16,8 @@
*
*/
+#include "config.h"
+
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
@@ -373,10 +375,10 @@ int udevinfo(int argc, char *argv[], char *envp[])
export_prefix = optarg;
break;
case 1:
- printf("%s\n", UDEV_VERSION);
+ printf("%s\n", VERSION);
goto exit;
case 'V':
- printf("udevinfo, version %s\n", UDEV_VERSION);
+ printf("udevinfo, version %s\n", VERSION);
goto exit;
case 'h':
printf("Usage: udevadm info OPTIONS\n"