aboutsummaryrefslogtreecommitdiff
path: root/gprof/gmon_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/gmon_io.c')
-rw-r--r--gprof/gmon_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/gmon_io.c b/gprof/gmon_io.c
index 1f0e1ac..d66b969 100644
--- a/gprof/gmon_io.c
+++ b/gprof/gmon_io.c
@@ -188,7 +188,7 @@ DEFUN (gmon_out_read, (filename), const char *filename)
{
int profrate;
- profrate = bfd_get_32 (core_bfd, (bfd_byte *) &raw.version[0]);
+ profrate = bfd_get_32 (core_bfd, (bfd_byte *) &raw.profrate[0]);
if (!s_highpc)
hz = profrate;
else if (hz != profrate)