summaryrefslogtreecommitdiff
path: root/udev/udev-rules.c
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2010-11-12 14:39:14 +0100
committerHarald Hoyer <harald@redhat.com>2010-11-12 14:42:35 +0100
commit851dd4ddc5aeb1ee517145d9e3334c2017595321 (patch)
treef591e3949e131868ac9e00e47172abaf5376c8a4 /udev/udev-rules.c
parentb8015eea2d0546deb363edc28aba813c1277d806 (diff)
udev-rules.c: change import property buffer to 16384 bytes
import_program_into_properties() should have the same line length as import_file_into_properties() see also https://bugzilla.redhat.com/show_bug.cgi?id=652318
Diffstat (limited to 'udev/udev-rules.c')
-rw-r--r--udev/udev-rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev-rules.c b/udev/udev-rules.c
index 52f121c29a..ab7b6aedb9 100644
--- a/udev/udev-rules.c
+++ b/udev/udev-rules.c
@@ -751,7 +751,7 @@ static int import_program_into_properties(struct udev_device *dev, const char *p
{
struct udev *udev = udev_device_get_udev(dev);
char **envp;
- char result[4096];
+ char result[UTIL_LINE_SIZE];
size_t reslen;
char *line;