X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fdevice.c;h=7323192a7176ddaa0fa46fd5181725904a79ea6c;hp=a196a982a02c153582938ac78f3881329d8786b8;hb=5948ee7ceff829965a72c5a636aae1e9c2bcc065;hpb=ee6cb28869d94f25a79f2c7cd29f1574c590036c diff --git a/src/device.c b/src/device.c index a196a982a..7323192a7 100644 --- a/src/device.c +++ b/src/device.c @@ -1,4 +1,4 @@ -/*-*- Mode: C; c-basic-offset: 8 -*-*/ +/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ /*** This file is part of systemd. @@ -190,7 +190,8 @@ static int device_update_unit(Manager *m, struct udev_device *dev, const char *p /* If this is a different unit, then let's not merge things */ if (u && DEVICE(u)->sysfs && !path_equal(DEVICE(u)->sysfs, sysfs)) { - log_error("Hmm, something's broken. Asked to create two devices with same name but different sysfs paths."); + log_error("Hmm, something's broken. Asked to create two devices with same name but different sysfs paths. (%s vs %s)", + DEVICE(u)->sysfs, sysfs); return -EEXIST; }