about summary refs log tree commit diff
path: root/elf/dl-catch.c
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-27 20:47:46 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-29 23:00:12 +0000
commit630da022cb07d67ab53b4e9335352e44e9b7c5e2 (patch)
treeffed7a6424b8e45616980fdbd0b88964185f6b80 /elf/dl-catch.c
parenta1950a07583f63f220f30ba7d99ceb619b80ecce (diff)
downloadglibc-630da022cb07d67ab53b4e9335352e44e9b7c5e2.tar.gz
glibc-630da022cb07d67ab53b4e9335352e44e9b7c5e2.tar.xz
glibc-630da022cb07d67ab53b4e9335352e44e9b7c5e2.zip
Fix misspellings in elf/ -- BZ 25337
Applying this commit results in bit-identical libc.so.6.
The elf/ld-linux-x86-64.so.2 does change, but only in .note.gnu.build-id

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'elf/dl-catch.c')
-rw-r--r--elf/dl-catch.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/elf/dl-catch.c b/elf/dl-catch.c
index a47ed4892d..0aa04ce594 100644
--- a/elf/dl-catch.c
+++ b/elf/dl-catch.c
@@ -109,7 +109,7 @@ _dl_signal_exception (int errcode, struct dl_exception *exception,
 rtld_hidden_def (_dl_signal_exception)
 
 void
-_dl_signal_error (int errcode, const char *objname, const char *occation,
+_dl_signal_error (int errcode, const char *objname, const char *occasion,
 		  const char *errstring)
 {
   struct rtld_catch *lcatch = get_catch ();
@@ -126,7 +126,7 @@ _dl_signal_error (int errcode, const char *objname, const char *occation,
       __longjmp (lcatch->env[0].__jmpbuf, 1);
     }
   else
-    fatal_error (errcode, objname, occation, errstring);
+    fatal_error (errcode, objname, occasion, errstring);
 }
 rtld_hidden_def (_dl_signal_error)
 
@@ -162,12 +162,12 @@ _dl_signal_cexception (int errcode, struct dl_exception *exception,
 }
 
 void
-_dl_signal_cerror (int errcode, const char *objname, const char *occation,
+_dl_signal_cerror (int errcode, const char *objname, const char *occasion,
 		   const char *errstring)
 {
   if (__builtin_expect (GLRO(dl_debug_mask)
 			& ~(DL_DEBUG_STATISTICS), 0))
-    _dl_debug_printf ("%s: error: %s: %s (%s)\n", objname, occation,
+    _dl_debug_printf ("%s: error: %s: %s (%s)\n", objname, occasion,
 		      errstring, receiver ? "continued" : "fatal");
 
   if (receiver)
@@ -178,7 +178,7 @@ _dl_signal_cerror (int errcode, const char *objname, const char *occation,
       (*receiver) (errcode, objname, errstring);
     }
   else
-    _dl_signal_error (errcode, objname, occation, errstring);
+    _dl_signal_error (errcode, objname, occasion, errstring);
 }
 
 void