diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | tools/read-sysinfoextended-sgutils.c | 3 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2007-09-28 Christophe Fergeau <christophe@anevia.com> + + * tools/read-sysinfoextended-sgutils.c: (main): use g_build_filename + instead of itdb_resolve_filename since the latter will fail if + SysInfoExtended does not already exist + 2007-09-27 Christophe Fergeau <teuf@gnome.org> * configure.ac: build tool to generate the iPod SysInfoExtended file diff --git a/tools/read-sysinfoextended-sgutils.c b/tools/read-sysinfoextended-sgutils.c index 268626f..76592fd 100644 --- a/tools/read-sysinfoextended-sgutils.c +++ b/tools/read-sysinfoextended-sgutils.c @@ -119,7 +119,6 @@ main (int argc, char **argv) const char *mountpoint = argv[2]; char *device_path; char *filename; - const char *components[] = { "SysInfoExtended", NULL }; gboolean success; device_path = itdb_get_device_dir (mountpoint); @@ -130,7 +129,7 @@ main (int argc, char **argv) return 1; } - filename = itdb_resolve_path (device_path, components); + filename = g_build_filename (device_path, "SysInfoExtended", NULL); g_free (device_path); if (filename == NULL) { g_print (_("Couldn't resolve SysInfoExtended path on %s"), |