Use the glib function rather than gnulib.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
#include "virlog.h"
#include "virerror.h"
#include "c-ctype.h"
-#include "areadlink.h"
#include "virstring.h"
#include "virprocess.h"
* "$procpath (deleted)". Read that link, remove the " (deleted)"
* part, and see if it has the same canonicalized name as binpath.
*/
- if (!(procLink = areadlink(procPath)))
+ if (!(procLink = g_file_read_link(procPath, NULL)))
return -1;
procLinkLen = strlen(procLink);