summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--src/libudev-monitor.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index fa8060b55d..1c7f86b081 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,7 +8,7 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AM_MAKEFLAGS = --no-print-directory
LIBUDEV_CURRENT=13
-LIBUDEV_REVISION=1
+LIBUDEV_REVISION=2
LIBUDEV_AGE=13
LIBGUDEV_CURRENT=1
diff --git a/src/libudev-monitor.c b/src/libudev-monitor.c
index 0b57072158..77dc55572f 100644
--- a/src/libudev-monitor.c
+++ b/src/libudev-monitor.c
@@ -588,7 +588,6 @@ UDEV_EXPORT struct udev_device *udev_monitor_receive_device(struct udev_monitor
retry:
if (udev_monitor == NULL)
return NULL;
- memset(buf, 0x00, sizeof(buf));
iov.iov_base = &buf;
iov.iov_len = sizeof(buf);
memset (&smsg, 0x00, sizeof(struct msghdr));