From 5ef42682053f57fc031d420f0a2ae3e204421b8d Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Mon, 21 Feb 2005 13:45:04 +0100 Subject: [PATCH] switch device type to enum --- udevtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'udevtest.c') 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; } -- cgit v1.2.3-54-g00ecf