about summary refs log tree commit diff
path: root/src/libbacktrace
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2018-02-10 12:22:57 +0100
committerMatthias Krüger <matthias.krueger@famsik.de>2018-02-10 12:22:57 +0100
commit7ee3e39f640a9532842e1441bf6bc98893b6a3ba (patch)
tree2c4ba1c3ee1d5abe8a5e1c68d8b29404f38474c5 /src/libbacktrace
parent39abcc04139a0fd24422f422271849dc91e39a88 (diff)
downloadrust-7ee3e39f640a9532842e1441bf6bc98893b6a3ba.tar.gz
rust-7ee3e39f640a9532842e1441bf6bc98893b6a3ba.zip
fix typos in src/{bootstrap,ci,etc,lib{backtrace,core,fmt_macros}}
Diffstat (limited to 'src/libbacktrace')
-rw-r--r--src/libbacktrace/ltmain.sh2
-rw-r--r--src/libbacktrace/macho.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libbacktrace/ltmain.sh b/src/libbacktrace/ltmain.sh
index eff9e62be8a..fd23815fc61 100644
--- a/src/libbacktrace/ltmain.sh
+++ b/src/libbacktrace/ltmain.sh
@@ -487,7 +487,7 @@ func_mkdir_p ()
       # While some portion of DIR does not yet exist...
       while test ! -d "$my_directory_path"; do
         # ...make a list in topmost first order.  Use a colon delimited
-	# list incase some portion of path contains whitespace.
+	# list in case some portion of path contains whitespace.
         my_dir_list="$my_directory_path:$my_dir_list"
 
         # If the last portion added has no slash in it, the list is done
diff --git a/src/libbacktrace/macho.c b/src/libbacktrace/macho.c
index 9af14e724b4..ba7f94c079f 100644
--- a/src/libbacktrace/macho.c
+++ b/src/libbacktrace/macho.c
@@ -327,7 +327,7 @@ macho_get_commands (struct backtrace_state *state, int descriptor,
         goto end;
       file_header_view_valid = 1;
 
-      // The endianess of the slice may be different than the fat image
+      // The endianness of the slice may be different than the fat image
       switch (*(uint32_t *) file_header_view.data)
         {
           case MH_MAGIC: