aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/dwarf2asm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 85c9291..ea82eb5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
+
2001-08-28 Dale Johannesen <dalej@apple.com>
* config/darwin.c (machopic_function_base_name): Add const
diff --git a/gcc/dwarf2asm.c b/gcc/dwarf2asm.c
index 2f43a61..229ce00 100644
--- a/gcc/dwarf2asm.c
+++ b/gcc/dwarf2asm.c
@@ -281,7 +281,7 @@ dw2_asm_output_nstring VPARAMS ((const char *str, size_t orig_len,
VA_OPEN (ap, comment);
VA_FIXEDARG (ap, const char *, str);
- VA_FIXEDARG (ap, size_t, len);
+ VA_FIXEDARG (ap, size_t, orig_len);
VA_FIXEDARG (ap, const char *, comment);
len = orig_len;