summary refs log tree commit diff stats
path: root/bsd-user/freebsd/target_os_stack.h
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2023-07-14 14:06:43 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2023-09-20 07:54:34 +0300
commit944399ffb286b5503e9d97330aaeab1e68779962 (patch)
tree75d1b68a73fbcbd58d8043fa5d57bd7b13876bcf /bsd-user/freebsd/target_os_stack.h
parente6a19a6477407e57b4deb61aaa497a14d7db9626 (diff)
downloadfocaccia-qemu-944399ffb286b5503e9d97330aaeab1e68779962.tar.gz
focaccia-qemu-944399ffb286b5503e9d97330aaeab1e68779962.zip
bsd-user: spelling fixes
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Kyle Evans <kevans@FreeBSD.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Diffstat (limited to 'bsd-user/freebsd/target_os_stack.h')
-rw-r--r--bsd-user/freebsd/target_os_stack.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsd-user/freebsd/target_os_stack.h b/bsd-user/freebsd/target_os_stack.h
index 0590133291..d15fc3263f 100644
--- a/bsd-user/freebsd/target_os_stack.h
+++ b/bsd-user/freebsd/target_os_stack.h
@@ -25,7 +25,7 @@
 #include "qemu/guest-random.h"
 
 /*
- * The inital FreeBSD stack is as follows:
+ * The initial FreeBSD stack is as follows:
  * (see kern/kern_exec.c exec_copyout_strings() )
  *
  *  Hi Address -> char **ps_argvstr  (struct ps_strings for ps, w, etc.)
@@ -59,7 +59,7 @@ static inline int setup_initial_stack(struct bsd_binprm *bprm,
     /* Save some space for ps_strings. */
     p -= sizeof(struct target_ps_strings);
 
-    /* Add machine depedent sigcode. */
+    /* Add machine dependent sigcode. */
     p -= TARGET_SZSIGCODE;
     if (setup_sigtramp(p, (unsigned)offsetof(struct target_sigframe, sf_uc),
             TARGET_FREEBSD_NR_sigreturn)) {