summaryrefslogtreecommitdiff
path: root/udev/lib
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-01-14 21:54:31 +0100
committerKay Sievers <kay.sievers@vrfy.org>2009-01-14 21:54:31 +0100
commitaffed87af1ad1a19a1baab3bfd2d271049f52e6c (patch)
tree7bc39f35582ca47a3f64a9ba60a3b06978d70ff1 /udev/lib
parent18cff5c3b2e3591fa46107288ea2d7026a15ccf3 (diff)
libudev: use 4096 bytes buffer for attribute reading
Diffstat (limited to 'udev/lib')
-rw-r--r--udev/lib/libudev-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/lib/libudev-device.c b/udev/lib/libudev-device.c
index a7722b3f6e..fc881fb3fd 100644
--- a/udev/lib/libudev-device.c
+++ b/udev/lib/libudev-device.c
@@ -862,7 +862,7 @@ const char *udev_device_get_sysattr_value(struct udev_device *udev_device, const
{
struct udev_list_entry *list_entry;
char path[UTIL_PATH_SIZE];
- char value[UTIL_NAME_SIZE];
+ char value[4096];
struct stat statbuf;
int fd;
ssize_t size;