lib/sysfs: fix ul_path_read_string() usage
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
efb17218ef
commit
3aa4775c2f
|
@ -493,6 +493,7 @@ int ul_path_readf(struct path_cxt *pc, char *buf, size_t len, const char *path,
|
||||||
* Returns newly allocated buffer with data from file. Maximal size is BUFSIZ
|
* Returns newly allocated buffer with data from file. Maximal size is BUFSIZ
|
||||||
* (send patch if you need something bigger;-)
|
* (send patch if you need something bigger;-)
|
||||||
*
|
*
|
||||||
|
* Returns size of the string!
|
||||||
*/
|
*/
|
||||||
int ul_path_read_string(struct path_cxt *pc, char **str, const char *path)
|
int ul_path_read_string(struct path_cxt *pc, char **str, const char *path)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue