From df2bf3cb63b1e0171ac874c8bf7984594ffca6f8 Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Thu, 16 Jul 2015 13:07:34 -0500 Subject: [PATCH] Fix comment typos --- proc/stack.go | 2 +- terminal/command.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proc/stack.go b/proc/stack.go index 02a231d3..bbb6be54 100644 --- a/proc/stack.go +++ b/proc/stack.go @@ -3,7 +3,7 @@ package proc import "encoding/binary" // Takes an offset from RSP and returns the address of the -// instruction the currect function is going to return to. +// instruction the current function is going to return to. func (thread *Thread) ReturnAddress() (uint64, error) { locations, err := thread.Stacktrace(2) if err != nil { diff --git a/terminal/command.go b/terminal/command.go index 6e9918c9..ae88a774 100644 --- a/terminal/command.go +++ b/terminal/command.go @@ -81,7 +81,7 @@ func (c *Commands) Register(cmdstr string, cf cmdfunc, helpMsg string) { } // Find will look up the command function for the given command input. -// If it cannot find the command it will defualt to noCmdAvailable(). +// If it cannot find the command it will default to noCmdAvailable(). // If the command is an empty string it will replay the last command. func (c *Commands) Find(cmdstr string) cmdfunc { // If use last command, if there was one. -- GitLab