From 754e80950a90eee438b5da6b7093161b34f654dd Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Thu, 26 Jul 2012 18:38:34 +0200 Subject: [PATCH] misc: fix misspell-check warnings https://github.com/lyda/misspell-check Signed-off-by: Sami Kerola --- doc/peekfd.1 | 2 +- src/fuser.c | 2 +- src/killall.c | 2 +- src/lists.h | 2 +- 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) { -- 2.40.0