diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-10 18:00:31 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-10 18:00:31 +0200 |
commit | 3eb46ec6ddeb31d9886ebb736d1d7b3534d2f354 (patch) | |
tree | 4caf6b37e4451b2d1e0fab7401116e95bc9e1dcb /udev/lib/libudev-ctrl.c | |
parent | b2946df41965632c80012921a2cacbf83bc3dd80 (diff) |
libudev: do not use any udev source file
Diffstat (limited to 'udev/lib/libudev-ctrl.c')
-rw-r--r-- | udev/lib/libudev-ctrl.c | 3 |
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; |