summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSami Kerola <kerolasa@iki.fi>2012-07-26 18:38:34 +0200
committerCraig Small <csmall@users.sourceforge.net>2012-07-28 18:39:45 +1000
commit754e80950a90eee438b5da6b7093161b34f654dd (patch)
tree9122ab5e30d676a98647fcc07ec174a10ce93563
parent054f57de43e9d3a0dcb8e7e3c5ea6f8451107166 (diff)
misc: fix misspell-check warnings
https://github.com/lyda/misspell-check Signed-off-by: Sami Kerola <kerolasa@iki.fi>
-rw-r--r--doc/peekfd.12
-rw-r--r--src/fuser.c2
-rw-r--r--src/killall.c2
-rw-r--r--src/lists.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/doc/peekfd.1 b/doc/peekfd.1
index eaaed1e..3ab6df2 100644
--- a/doc/peekfd.1
+++ b/doc/peekfd.1
@@ -46,7 +46,7 @@ The following diagnostics may be issued on stderr:
.B
Error attaching to pid ...
.RS
-An unknown error occured while attempted to attach to a process.. you may need to be root.
+An unknown error occurred while attempted to attach to a process.. you may need to be root.
.SH BUGS
Probably lots. Don't be surprised if the process you are monitoring dies.
.SH AUTHOR
diff --git a/src/fuser.c b/src/fuser.c
index 0c6199e..2d70b46 100644
--- a/src/fuser.c
+++ b/src/fuser.c
@@ -1544,7 +1544,7 @@ void fill_unix_cache(struct unixsocket_list **unixsocket_head)
}
#ifdef DEBUG
-/* often not used, doesnt need translation */
+/* often not used, doesn't need translation */
static void
debug_match_lists(struct names *names_head, struct inode_list *ino_head,
struct device_list *dev_head)
diff --git a/src/killall.c b/src/killall.c
index da26237..8145535 100644
--- a/src/killall.c
+++ b/src/killall.c
@@ -150,7 +150,7 @@ static double process_age(const unsigned long long jf)
}
/* returns requested time interval in seconds,
- negative indicates error has occured
+ negative indicates error has occurred
*/
static long
parse_time_units(const char* age)
diff --git a/src/lists.h b/src/lists.h
index 5081e25..4ca8cb7 100644
--- a/src/lists.h
+++ b/src/lists.h
@@ -58,7 +58,7 @@ typedef unsigned int uint;
* gcc -I/usr/src/linux/include -D__KERNEL__ -x c -E -P - | \
* sed -rn '/void[[:blank:]]+prefetch[[:blank:]]*\(/,/^}/p'
*
- * on the appropiate architecture (here on i686 for i586).
+ * on the appropriate architecture (here on i686 for i586).
*/
extern inline void attribute((used,__gnu_inline__,always_inline,__artificial__)) prefetch(const void *restrict x)
{