summaryrefslogtreecommitdiff
path: root/src/sysfs-utils.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-08-28 15:49:19 +0100
committerRichard Hughes <richard@hughsie.com>2008-08-28 15:49:19 +0100
commit7fdcc278dc80aa0bb07c834e0d8de5787852ecb2 (patch)
tree91c2afadfa42f96082bb9423a875f89c4b795b16 /src/sysfs-utils.c
parent0e2c7ef0ecb7ef924230a4e45c0b75a3937678d7 (diff)
convert to using egg_ functionality like other projects
Diffstat (limited to 'src/sysfs-utils.c')
-rw-r--r--src/sysfs-utils.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sysfs-utils.c b/src/sysfs-utils.c
index f7f18eb..c56f422 100644
--- a/src/sysfs-utils.c
+++ b/src/sysfs-utils.c
@@ -213,19 +213,19 @@ sysfs_resolve_link (const char *dir, const char *attribute)
full_path = g_build_filename (dir, attribute, NULL);
- //dkp_warning ("attribute='%s'", attribute);
- //dkp_warning ("full_path='%s'", full_path);
+ //egg_warning ("attribute='%s'", attribute);
+ //egg_warning ("full_path='%s'", full_path);
num = readlink (full_path, link_path, sizeof (link_path) - 1);
if (num != -1) {
char *absolute_path;
link_path[num] = '\0';
- //dkp_warning ("link_path='%s'", link_path);
+ //egg_warning ("link_path='%s'", link_path);
absolute_path = g_build_filename (dir, link_path, NULL);
- //dkp_warning ("absolute_path='%s'", absolute_path);
+ //egg_warning ("absolute_path='%s'", absolute_path);
if (realpath (absolute_path, resolved_path) != NULL) {
- //dkp_warning ("resolved_path='%s'", resolved_path);
+ //egg_warning ("resolved_path='%s'", resolved_path);
found_it = TRUE;
}
g_free (absolute_path);