chiark / gitweb /
libudev: use 4096 bytes buffer for attribute reading
[elogind.git] / udev / lib / libudev-device.c
index a7722b3f6e824319e37153d2ab603042f2cf2167..fc881fb3fdacf27c5d194de6da0825254bc96df8 100644 (file)
@@ -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;