mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
libudev: use 4096 bytes buffer for attribute reading
This commit is contained in:
parent
18cff5c3b2
commit
affed87af1
@ -15,7 +15,7 @@ test "$prefix" = NONE && test "$exec_prefix" = NONE && exec_prefix=
|
||||
|
||||
dnl /* libudev version */
|
||||
LIBUDEV_LT_CURRENT=0
|
||||
LIBUDEV_LT_REVISION=7
|
||||
LIBUDEV_LT_REVISION=8
|
||||
LIBUDEV_LT_AGE=0
|
||||
AC_SUBST(LIBUDEV_LT_CURRENT)
|
||||
AC_SUBST(LIBUDEV_LT_REVISION)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user