summaryrefslogtreecommitdiff
path: root/udevtest.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-12 21:41:57 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:53:17 -0700
commite6764498e7592f216a1895eacc485448fa4a1660 (patch)
tree11c81e7174f0bcb5774568f569985589584fbc19 /udevtest.c
parent319112e295bbf1ed5d86389190abbe24ce251b14 (diff)
[PATCH] correct enum device_type
Diffstat (limited to 'udevtest.c')
-rw-r--r--udevtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevtest.c b/udevtest.c
index 5ce2570058..1e0037978b 100644
--- a/udevtest.c
+++ b/udevtest.c
@@ -92,7 +92,7 @@ int main(int argc, char *argv[], char *envp[])
udev_init_device(&udev, devpath, subsystem);
/* skip subsystems without "dev", but handle net devices */
- if (udev.type != NET && subsystem_expect_no_dev(udev.subsystem)) {
+ if (udev.type != DEV_NET && subsystem_expect_no_dev(udev.subsystem)) {
info("don't care about '%s' devices", udev.subsystem);
return 2;
}