diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-07-30 01:45:23 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-07-30 01:45:23 +0200 |
commit | 01618658fd82dbc5e6315b639f00e87c6fee3c54 (patch) | |
tree | df8e628d04a81186d6d431fd3b1fa50a3d34987a /udev/test-udev.c | |
parent | 726687ad48bdececed1e7e44387c50e009e28208 (diff) |
use autotools
Diffstat (limited to 'udev/test-udev.c')
-rw-r--r-- | udev/test-udev.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/udev/test-udev.c b/udev/test-udev.c index 4ac2d5a889..591e93058a 100644 --- a/udev/test-udev.c +++ b/udev/test-udev.c @@ -17,6 +17,8 @@ * */ +#include "config.h" + #include <stdio.h> #include <stddef.h> #include <stdlib.h> @@ -71,7 +73,7 @@ int main(int argc, char *argv[], char *envp[]) int retval = -EINVAL; if (argc == 2 && strcmp(argv[1], "-V") == 0) { - printf("%s\n", UDEV_VERSION); + printf("%s\n", VERSION); exit(0); } @@ -93,7 +95,7 @@ int main(int argc, char *argv[], char *envp[]) err("open /dev/null failed: %s\n", strerror(errno)); udev_config_init(); selinux_init(); - dbg("version %s\n", UDEV_VERSION); + dbg("version %s\n", VERSION); /* set signal handlers */ memset(&act, 0x00, sizeof(act)); |