summaryrefslogtreecommitdiff
path: root/udev/lib/libudev-ctrl.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-ctrl.c
parentb2946df41965632c80012921a2cacbf83bc3dd80 (diff)
libudev: do not use any udev source file
Diffstat (limited to 'udev/lib/libudev-ctrl.c')
-rw-r--r--udev/lib/libudev-ctrl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/udev/lib/libudev-ctrl.c b/udev/lib/libudev-ctrl.c
index 6d91ea4dbc..e42f631571 100644
--- a/udev/lib/libudev-ctrl.c
+++ b/udev/lib/libudev-ctrl.c
@@ -29,7 +29,6 @@
#include <sys/socket.h>
#include <sys/un.h>
-#include "../udev.h"
#include "libudev.h"
#include "libudev-private.h"
@@ -155,7 +154,7 @@ static int ctrl_send(struct udev_ctrl *uctrl, enum udev_ctrl_msg_type type, int
ctrl_msg.type = type;
if (buf != NULL)
- strlcpy(ctrl_msg.buf, buf, sizeof(ctrl_msg.buf));
+ util_strlcpy(ctrl_msg.buf, buf, sizeof(ctrl_msg.buf));
else
ctrl_msg.intval = intval;