From 30aeeca4526f4958a7dfe9dee11ba367e7810234 Mon Sep 17 00:00:00 2001
From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date: Mon, 11 Oct 2010 19:06:24 +0000
Subject: [PATCH] dyn_load.c: Fix typo.

	* dyn_load.c: Fix typo.
	* pthread_support.c (GC_get_thread_stack_base) [DEBUG_THREADS]:
	Use GC_printf0.

From-SVN: r165328
---
 boehm-gc/ChangeLog         | 6 ++++++
 boehm-gc/dyn_load.c        | 2 +-
 boehm-gc/pthread_support.c | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index d9cda96895ec..fd34e4803200 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,9 @@
+2010-10-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+	* dyn_load.c: Fix typo.
+	* pthread_support.c (GC_get_thread_stack_base) [DEBUG_THREADS]:
+	Use GC_printf0.
+
 2010-06-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
 	* configure.ac (*-*-solaris2.8*): Only usr alternate thread
diff --git a/boehm-gc/dyn_load.c b/boehm-gc/dyn_load.c
index 5bebc1c155d1..2133f465ef92 100644
--- a/boehm-gc/dyn_load.c
+++ b/boehm-gc/dyn_load.c
@@ -122,7 +122,7 @@
 #    endif
 #  endif
 
-/* An user-supplied routine that is called to dtermine if a DSO must
+/* An user-supplied routine that is called to determine if a DSO must
    be scanned by the gc.  */
 static int (*GC_has_static_roots)(const char *, void *, size_t);
 /* Register the routine.  */
diff --git a/boehm-gc/pthread_support.c b/boehm-gc/pthread_support.c
index 57c8a16a1fa5..fd961f5d8025 100644
--- a/boehm-gc/pthread_support.c
+++ b/boehm-gc/pthread_support.c
@@ -1139,7 +1139,7 @@ GC_PTR GC_get_thread_stack_base()
   if (pthread_getattr_np (my_pthread, &attr) != 0)
     {
 #   ifdef DEBUG_THREADS
-      GC_printf1("Can not determine stack base for attached thread");
+      GC_printf0("Can not determine stack base for attached thread");
 #   endif
       return 0;
     }
-- 
GitLab