summaryrefslogtreecommitdiff
path: root/udev/lib/libudev.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-10 18:00:31 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-10 18:00:31 +0200
commit3eb46ec6ddeb31d9886ebb736d1d7b3534d2f354 (patch)
tree4caf6b37e4451b2d1e0fab7401116e95bc9e1dcb /udev/lib/libudev.c
parentb2946df41965632c80012921a2cacbf83bc3dd80 (diff)
libudev: do not use any udev source file
Diffstat (limited to 'udev/lib/libudev.c')
-rw-r--r--udev/lib/libudev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/udev/lib/libudev.c b/udev/lib/libudev.c
index d1dd9e4838..04ad26c6fb 100644
--- a/udev/lib/libudev.c
+++ b/udev/lib/libudev.c
@@ -33,7 +33,6 @@
#include "libudev.h"
#include "libudev-private.h"
-#include "../udev.h"
struct udev {
int refcount;
@@ -201,7 +200,7 @@ struct udev *udev_new(void)
goto err;
f = fopen(config_file, "r");
if (f != NULL) {
- char line[LINE_SIZE];
+ char line[UTIL_LINE_SIZE];
int line_nr = 0;
while (fgets(line, sizeof(line), f)) {