summaryrefslogtreecommitdiff
path: root/binfile.c
diff options
context:
space:
mode:
authorSøren Sandmann <sandmann@redhat.com>2006-11-09 22:32:22 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2006-11-09 22:32:22 +0000
commit3b559da62380c847067140a4ecfb67d0063ae1f5 (patch)
tree84b8d2f7560a1ec61814923ef4bb59b1e456d3a0 /binfile.c
parentea0690817cac8544b77ee6925af38b686c3209f7 (diff)
Start with "/usr", not "usr". Pointed out by Tim Rowley.
Thu Nov 9 17:31:17 2006 Søren Sandmann <sandmann@redhat.com> * binfile.c (get_debug_file): Start with "/usr", not "usr". Pointed out by Tim Rowley. * binparser.c (bin_parser_align): Pass byte_width on instead of hardcoding 4.
Diffstat (limited to 'binfile.c')
-rw-r--r--binfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binfile.c b/binfile.c
index eafd126..d53ca83 100644
--- a/binfile.c
+++ b/binfile.c
@@ -88,7 +88,7 @@ separate_debug_file_exists (const char *name, guint32 crc)
if (file_crc != crc)
{
- g_print ("warning: %s has wrong crc\n", name);
+ g_print ("warning: %s has wrong crc \n", name);
elf_parser_free (parser);
@@ -133,7 +133,7 @@ get_debug_file (ElfParser *elf,
tries[0] = g_build_filename (dir, basename, NULL);
tries[1] = g_build_filename (dir, ".debug", basename, NULL);
- tries[2] = g_build_filename ("usr", "lib", "debug", dir, basename, NULL);
+ tries[2] = g_build_filename ("/usr", "lib", "debug", dir, basename, NULL);
tries[3] = g_build_filename (debug_file_directory, dir, basename, NULL);
for (i = 0; i < N_TRIES; ++i)