X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=libudev%2Flibudev.c;h=190913871ea9b0ff5671010e1650bfec212ab11e;hb=676d294c23cf999ac7d192b058476f91242550c0;hp=f6fdcb2dfdda6ac4adc6abc5f9eda163cdd2bb2d;hpb=ce1d6d7fb47582588cfbcf0baba0c58e42a90ca6;p=elogind.git diff --git a/libudev/libudev.c b/libudev/libudev.c index f6fdcb2df..190913871 100644 --- a/libudev/libudev.c +++ b/libudev/libudev.c @@ -1,7 +1,7 @@ /* * libudev - interface to udev device information * - * Copyright (C) 2008 Kay Sievers + * Copyright (C) 2008-2009 Kay Sievers * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -123,7 +123,7 @@ struct udev *udev_new(void) udev->log_priority = LOG_ERR; udev_list_init(&udev->properties_list); udev->run = 1; - udev->dev_path = strdup(UDEV_PREFIX "/dev"); + udev->dev_path = strdup("/dev"); udev->sys_path = strdup("/sys"); config_file = strdup(SYSCONFDIR "/udev/udev.conf"); if (udev->dev_path == NULL || @@ -327,7 +327,7 @@ void udev_set_log_fn(struct udev *udev, * udev_get_log_priority: * @udev: udev library context * - * The initial syslog priortity is read from the udev config file + * The initial syslog priority is read from the udev config file * at startup. * * Returns: the current syslog priority