diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2012-03-21 18:58:51 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2012-03-22 03:46:16 +0100 |
commit | 8482018afc5d11f45badf4952a6134a5cc4b1ee2 (patch) | |
tree | c5e1aa22e9537a248355d8e1e813ee8973b20d6c /src | |
parent | abac5c7976c019be41f187bf97d6acffbe6caa8d (diff) |
libudev: monitor - do not memset() receive buffer
Diffstat (limited to 'src')
-rw-r--r-- | src/libudev-monitor.c | 1 |
1 files changed, 0 insertions, 1 deletions
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)); |