diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-08-12 15:27:46 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-08-12 15:27:46 +0300 |
commit | 97b4430a4535ba6b661740dd2d982e001cda5546 (patch) | |
tree | 6db5f394c2908c0dbed4aec4cfde6cec0d79f479 /tools | |
parent | 6f411b45506d6fc5b523b32a963a28b28f8a898f (diff) | |
download | rpm-97b4430a4535ba6b661740dd2d982e001cda5546.tar.gz rpm-97b4430a4535ba6b661740dd2d982e001cda5546.tar.bz2 rpm-97b4430a4535ba6b661740dd2d982e001cda5546.zip |
Fix debugedit buildid thinko.
Patch from Roland McGrath
Diffstat (limited to 'tools')
-rw-r--r-- | tools/debugedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/debugedit.c b/tools/debugedit.c index 3eab50da5..5b834fda6 100644 --- a/tools/debugedit.c +++ b/tools/debugedit.c @@ -1328,7 +1328,7 @@ handle_build_id (DSO *dso, Elf_Data *build_id, } /* Clear the old bits so they do not affect the new hash. */ - memset ((char *) build_id->d_buf + build_id_offset, 0, build_id_offset); + memset ((char *) build_id->d_buf + build_id_offset, 0, build_id_size); hashFunctionContextInit (&ctx, hf); |