summaryrefslogtreecommitdiff
path: root/libudev/libudev.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-03-25 16:45:15 +0100
committerKay Sievers <kay.sievers@vrfy.org>2010-03-25 16:45:48 +0100
commitdbba7e4029e2eb8157232e6b5ddd9ee0f68b51b5 (patch)
tree0d397bbcb460fb817cd13d8fb73bcf63417d63ec /libudev/libudev.c
parent43d08246dbb3a01e88062d5315194ee889e52dd4 (diff)
libudev: update documentation
Diffstat (limited to 'libudev/libudev.c')
-rw-r--r--libudev/libudev.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libudev/libudev.c b/libudev/libudev.c
index 411e9aec8b..0ae5a9115a 100644
--- a/libudev/libudev.c
+++ b/libudev/libudev.c
@@ -1,7 +1,7 @@
/*
* libudev - interface to udev device information
*
- * Copyright (C) 2008-2009 Kay Sievers <kay.sievers@vrfy.org>
+ * Copyright (C) 2008-2010 Kay Sievers <kay.sievers@vrfy.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -71,7 +71,7 @@ static void log_stderr(struct udev *udev,
* @udev: udev library context
*
* Retrieve stored data pointer from library context. This might be useful
- * to access from callbacks.
+ * to access from callbacks like a custom logging function.
*
* Returns: stored userdata
**/
@@ -321,10 +321,10 @@ void udev_set_log_fn(struct udev *udev,
* udev_get_log_priority:
* @udev: udev library context
*
- * The initial syslog priority is read from the udev config file
+ * The initial logging priority is read from the udev config file
* at startup.
*
- * Returns: the current syslog priority
+ * Returns: the current logging priority
**/
int udev_get_log_priority(struct udev *udev)
{
@@ -334,10 +334,10 @@ int udev_get_log_priority(struct udev *udev)
/**
* udev_set_log_priority:
* @udev: udev library context
- * @priority: the new syslog priority
+ * @priority: the new logging priority
*
- * Set the current syslog priority. The value controls which messages
- * are send to syslog.
+ * Set the current logging priority. The value controls which messages
+ * are logged.
**/
void udev_set_log_priority(struct udev *udev, int priority)
{