chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libudev: make valgrind happy
[elogind.git]
/
libudev
/
libudev.c
diff --git
a/libudev/libudev.c
b/libudev/libudev.c
index d96934fba83d5d71c69b3ac06ce0ec4ca6888f2d..edc24e2fcab42e3f1d5210f8e31d37c819b670d0 100644
(file)
--- a/
libudev/libudev.c
+++ b/
libudev/libudev.c
@@
-411,6
+411,14
@@
const char *udev_get_run_config_path(struct udev *udev)
return udev->run_config_path;
}
return udev->run_config_path;
}
+/**
+ * udev_get_run_path:
+ * @udev: udev library context
+ *
+ * Retrieve the udev runtime directory path. The default is "/run/udev".
+ *
+ * Returns: the runtime directory path
+ **/
const char *udev_get_run_path(struct udev *udev)
{
if (udev->run_path != NULL)
const char *udev_get_run_path(struct udev *udev)
{
if (udev->run_path != NULL)