summaryrefslogtreecommitdiff
path: root/libudev/test-libudev.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-05-16 22:04:02 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-05-16 22:04:02 +0200
commit3cf1a8e36ed0d9bb9b000adf36dd347e8d988478 (patch)
tree132994a3ad9dac2975919b53d627aed798974cc9 /libudev/test-libudev.c
parent4b718be86db37a37c83793ca410e8d9968e615f2 (diff)
libudev: device - use DEVMODE from kernel as the default mode
Diffstat (limited to 'libudev/test-libudev.c')
-rw-r--r--libudev/test-libudev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libudev/test-libudev.c b/libudev/test-libudev.c
index 4192ba14b2..966a406507 100644
--- a/libudev/test-libudev.c
+++ b/libudev/test-libudev.c
@@ -221,7 +221,7 @@ static int test_enumerate_print_list(struct udev_enumerate *enumerate)
static int test_monitor(struct udev *udev)
{
- struct udev_monitor *udev_monitor;
+ struct udev_monitor *udev_monitor = NULL;
int fd_ep;
int fd_udev = -1;
struct epoll_event ep_udev, ep_stdin;