summaryrefslogtreecommitdiff
path: root/udevtest.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-02-21 13:45:04 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:36:13 -0700
commit5ef42682053f57fc031d420f0a2ae3e204421b8d (patch)
tree7ddd231fd445f1dfc10f2f22e1dae7b551a0ced9 /udevtest.c
parent7e720bd4ad8257d81d273d98294ebbcc03ade9ba (diff)
[PATCH] switch device type to enum
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 4b94442608..4e02ac7dbc 100644
--- a/udevtest.c
+++ b/udevtest.c
@@ -94,7 +94,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 != 'n' && subsystem_expect_no_dev(udev.subsystem)) {
+ if (udev.type != NET && subsystem_expect_no_dev(udev.subsystem)) {
info("don't care about '%s' devices", udev.subsystem);
return 2;
}