chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dhcp: Add function to free DHCP client data
[elogind.git]
/
src
/
libudev
/
libudev.c
diff --git
a/src/libudev/libudev.c
b/src/libudev/libudev.c
index d860ebc08037b7fc0c88b339636f558a33193176..bc73a5a08c42a1ce3747ea0251c746f0542927c3 100644
(file)
--- a/
src/libudev/libudev.c
+++ b/
src/libudev/libudev.c
@@
-125,7
+125,7
@@
_public_ struct udev *udev_new(void)
return NULL;
udev->refcount = 1;
udev->log_fn = log_stderr;
return NULL;
udev->refcount = 1;
udev->log_fn = log_stderr;
- udev->log_priority = LOG_
ERR
;
+ udev->log_priority = LOG_
INFO
;
udev_list_init(udev, &udev->properties_list, true);
f = fopen("/etc/udev/udev.conf", "re");
udev_list_init(udev, &udev->properties_list, true);
f = fopen("/etc/udev/udev.conf", "re");
@@
-191,7
+191,7
@@
_public_ struct udev *udev_new(void)
val++;
}
val++;
}
- if (str
cmp(key, "udev_log") == 0
) {
+ if (str
eq(key, "udev_log")
) {
udev_set_log_priority(udev, util_log_priority(val));
continue;
}
udev_set_log_priority(udev, util_log_priority(val));
continue;
}