Fix typos in comments, no functional changes.
Found by: codespell Reviewed by: alfred MFC after: 1 week
This commit is contained in:
parent
b0775aef77
commit
b2bf146e3e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222103
@ -128,7 +128,7 @@ amd64_syscall_entry(struct trussinfo *trussinfo, int nargs) {
|
||||
/*
|
||||
* FreeBSD has two special kinds of system call redirctions --
|
||||
* SYS_syscall, and SYS___syscall. The former is the old syscall()
|
||||
* routine, basicly; the latter is for quad-aligned arguments.
|
||||
* routine, basically; the latter is for quad-aligned arguments.
|
||||
*/
|
||||
reg = 0;
|
||||
syscall_num = regs.r_rax;
|
||||
|
@ -136,7 +136,7 @@ amd64_fbsd32_syscall_entry(struct trussinfo *trussinfo, int nargs) {
|
||||
/*
|
||||
* FreeBSD has two special kinds of system call redirctions --
|
||||
* SYS_syscall, and SYS___syscall. The former is the old syscall()
|
||||
* routine, basicly; the latter is for quad-aligned arguments.
|
||||
* routine, basically; the latter is for quad-aligned arguments.
|
||||
*/
|
||||
syscall_num = regs.r_rax;
|
||||
switch (syscall_num) {
|
||||
|
@ -131,7 +131,7 @@ i386_syscall_entry(struct trussinfo *trussinfo, int nargs) {
|
||||
/*
|
||||
* FreeBSD has two special kinds of system call redirctions --
|
||||
* SYS_syscall, and SYS___syscall. The former is the old syscall()
|
||||
* routine, basicly; the latter is for quad-aligned arguments.
|
||||
* routine, basically; the latter is for quad-aligned arguments.
|
||||
*/
|
||||
syscall_num = regs.r_eax;
|
||||
switch (syscall_num) {
|
||||
|
@ -128,7 +128,7 @@ ia64_syscall_entry(struct trussinfo *trussinfo, int nargs) {
|
||||
/*
|
||||
* FreeBSD has two special kinds of system call redirctions --
|
||||
* SYS_syscall, and SYS___syscall. The former is the old syscall()
|
||||
* routine, basicly; the latter is for quad-aligned arguments.
|
||||
* routine, basically; the latter is for quad-aligned arguments.
|
||||
*/
|
||||
syscall_num = regs.r_scratch.gr15; /* XXX double-check. */
|
||||
if (syscall_num == SYS_syscall || syscall_num == SYS___syscall)
|
||||
|
@ -33,7 +33,7 @@
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
/*
|
||||
* The main module for truss. Suprisingly simple, but, then, the other
|
||||
* The main module for truss. Surprisingly simple, but, then, the other
|
||||
* files handle the bulk of the work. And, of course, the kernel has to
|
||||
* do a lot of the work :).
|
||||
*/
|
||||
|
@ -137,7 +137,7 @@ powerpc_syscall_entry(struct trussinfo *trussinfo, int nargs) {
|
||||
/*
|
||||
* FreeBSD has two special kinds of system call redirctions --
|
||||
* SYS_syscall, and SYS___syscall. The former is the old syscall()
|
||||
* routine, basicly; the latter is for quad-aligned arguments.
|
||||
* routine, basically; the latter is for quad-aligned arguments.
|
||||
*/
|
||||
regargs = NARGREG;
|
||||
syscall_num = regs.fixreg[0];
|
||||
|
@ -129,7 +129,7 @@ powerpc64_syscall_entry(struct trussinfo *trussinfo, int nargs) {
|
||||
/*
|
||||
* FreeBSD has two special kinds of system call redirctions --
|
||||
* SYS_syscall, and SYS___syscall. The former is the old syscall()
|
||||
* routine, basicly; the latter is for quad-aligned arguments.
|
||||
* routine, basically; the latter is for quad-aligned arguments.
|
||||
*/
|
||||
regargs = NARGREG;
|
||||
syscall_num = regs.fixreg[0];
|
||||
|
@ -135,7 +135,7 @@ sparc64_syscall_entry(struct trussinfo *trussinfo, int nargs) {
|
||||
/*
|
||||
* FreeBSD has two special kinds of system call redirctions --
|
||||
* SYS_syscall, and SYS___syscall. The former is the old syscall()
|
||||
* routine, basicly; the latter is for quad-aligned arguments.
|
||||
* routine, basically; the latter is for quad-aligned arguments.
|
||||
*/
|
||||
syscall_num = regs.r_global[1];
|
||||
if (syscall_num == SYS_syscall || syscall_num == SYS___syscall) {
|
||||
|
Loading…
Reference in New Issue
Block a user