about summary refs log tree commit diff
path: root/elf/sprof.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/sprof.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/sprof.c')
-rw-r--r--elf/sprof.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/sprof.c b/elf/sprof.c
index dfca16b7a6..3eaa4758d6 100644
--- a/elf/sprof.c
+++ b/elf/sprof.c
@@ -119,7 +119,7 @@ static enum
 /* Nozero for testing.  */
 static int do_test;
 
-/* Strcuture describing calls.  */
+/* Structure describing calls.  */
 struct here_fromstruct
 {
   struct here_cg_arc_record volatile *here;
@@ -413,7 +413,7 @@ load_shobj (const char *name)
 
   /* Since we use dlopen() we must be prepared to work around the sometimes
      strange lookup rules for the shared objects.  If we have a file foo.so
-     in the current directory and the user specfies foo.so on the command
+     in the current directory and the user specifies foo.so on the command
      line (without specifying a directory) we should load the file in the
      current directory even if a normal dlopen() call would read the other
      file.  We do this by adding a directory portion to the name.  */
@@ -809,7 +809,7 @@ load_profdata (const char *name, struct shobj *shobj)
       return NULL;
     }
 
-  /* We don't need the file desriptor anymore.  */
+  /* We don't need the file descriptor anymore.  */
   if (close (fd) < 0)
     {
       error (0, errno, _("error while closing the profiling data file"));