summaryrefslogtreecommitdiff
path: root/udev/udevadm-settle.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-10-09 22:52:03 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-10-09 22:52:03 +0200
commit5cc4112e6d326436dab7476ccc17588d42bf782f (patch)
tree816058f250f968e456a6b86443c837d258b47003 /udev/udevadm-settle.c
parent7944a13a2b8516d5fa354703789f5988cb4299b6 (diff)
udevadm: control - use /run/udev/control socket instead of abstract namespace one
Diffstat (limited to 'udev/udevadm-settle.c')
-rw-r--r--udev/udevadm-settle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevadm-settle.c b/udev/udevadm-settle.c
index 9f409b61b8..a59d7c39e5 100644
--- a/udev/udevadm-settle.c
+++ b/udev/udevadm-settle.c
@@ -138,7 +138,7 @@ static int adm_settle(struct udev *udev, int argc, char *argv[])
if (getuid() == 0) {
struct udev_ctrl *uctrl;
- uctrl = udev_ctrl_new_from_socket(udev, UDEV_CTRL_SOCK_PATH);
+ uctrl = udev_ctrl_new(udev);
if (uctrl != NULL) {
if (udev_ctrl_send_ping(uctrl, timeout) < 0) {
info(udev, "no connection to daemon\n");