typo fixes
Signed-off-by: Maninder Singh <maninder1.s@samsung.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
c4603fb09a
commit
97c6491b4e
2
Makefile
2
Makefile
@ -552,7 +552,7 @@ export INSTALL_PATH ?= /boot
|
||||
#
|
||||
# INSTALL_MOD_PATH specifies a prefix to MODLIB for module directory
|
||||
# relocations required by build roots. This is not defined in the
|
||||
# makefile but the arguement can be passed to make if needed.
|
||||
# makefile but the argument can be passed to make if needed.
|
||||
#
|
||||
|
||||
MODLIB = $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
|
||||
|
@ -11,7 +11,7 @@ config CAL
|
||||
bool "cal"
|
||||
default y
|
||||
help
|
||||
cal is used to display a monthly calender.
|
||||
cal is used to display a monthly calendar.
|
||||
|
||||
config CATV
|
||||
bool "catv"
|
||||
|
@ -374,7 +374,7 @@ static void print_it(const char *masterformat,
|
||||
{
|
||||
/* Create a working copy of the format string */
|
||||
char *format = xstrdup(masterformat);
|
||||
/* Add 2 to accomodate our conversion of the stat '%s' format string
|
||||
/* Add 2 to accommodate our conversion of the stat '%s' format string
|
||||
* to the printf '%llu' one. */
|
||||
char *dest = xmalloc(strlen(format) + 2 + 1);
|
||||
char *b;
|
||||
|
@ -46,7 +46,7 @@ static void FAST_FUNC read_stduu(FILE *src_stream, FILE *dst_stream, int flags U
|
||||
|
||||
encoded_len = line[0] * 4 / 3;
|
||||
/* Check that line is not too short. (we tolerate
|
||||
* overly _long_ line to accomodate possible extra '`').
|
||||
* overly _long_ line to accommodate possible extra '`').
|
||||
* Empty line case is also caught here. */
|
||||
if (str_len <= encoded_len) {
|
||||
break; /* go to bb_error_msg_and_die("short file"); */
|
||||
|
@ -38,7 +38,7 @@ fulfilled by the gateway program: <p>
|
||||
|
||||
</p><ul>
|
||||
<li> <a name="protocol"><code>SERVER_PROTOCOL</code></a> <p>
|
||||
The name and revision of the information protcol this request came
|
||||
The name and revision of the information protocol this request came
|
||||
in with. Format: protocol/revision </p><p>
|
||||
|
||||
</p></li><li> <code>SERVER_PORT</code> <p>
|
||||
|
@ -90,7 +90,7 @@ void blkid_debug_dump_dev(blkid_dev dev)
|
||||
*
|
||||
* These routines do not expose the list.h implementation, which are a
|
||||
* contamination of the namespace, and which force us to reveal far, far
|
||||
* too much of our internal implemenation. I'm not convinced I want
|
||||
* too much of our internal implementation. I'm not convinced I want
|
||||
* to keep list.h in the long term, anyway. It's fine for kernel
|
||||
* programming, but performance is not the #1 priority for this
|
||||
* library, and I really don't like the tradeoff of type-safety for
|
||||
|
@ -230,7 +230,7 @@ errout:
|
||||
*
|
||||
* These routines do not expose the list.h implementation, which are a
|
||||
* contamination of the namespace, and which force us to reveal far, far
|
||||
* too much of our internal implemenation. I'm not convinced I want
|
||||
* too much of our internal implementation. I'm not convinced I want
|
||||
* to keep list.h in the long term, anyway. It's fine for kernel
|
||||
* programming, but performance is not the #1 priority for this
|
||||
* library, and I really don't like the tradeoff of type-safety for
|
||||
|
@ -6381,7 +6381,7 @@ static int deallocate_inode_block(ext2_filsys fs, blk_t *block_nr,
|
||||
}
|
||||
|
||||
/*
|
||||
* This fuction deallocates an inode
|
||||
* This function deallocates an inode
|
||||
*/
|
||||
static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf)
|
||||
{
|
||||
@ -6447,7 +6447,7 @@ static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf)
|
||||
}
|
||||
|
||||
/*
|
||||
* This fuction clears the htree flag on an inode
|
||||
* This function clears the htree flag on an inode
|
||||
*/
|
||||
static void clear_htree(e2fsck_t ctx, ext2_ino_t ino)
|
||||
{
|
||||
|
@ -363,7 +363,7 @@ static void stone(const int *a, int n, const int *b, int *J, int pref)
|
||||
}
|
||||
|
||||
struct line {
|
||||
/* 'serial' is not used in the begining, so we reuse it
|
||||
/* 'serial' is not used in the beginning, so we reuse it
|
||||
* to store line offsets, thus reducing memory pressure
|
||||
*/
|
||||
union {
|
||||
|
14
editors/vi.c
14
editors/vi.c
@ -501,7 +501,7 @@ static char *prev_line(char *); // return pointer to prev line B-o-l
|
||||
static char *next_line(char *); // return pointer to next line B-o-l
|
||||
static char *end_screen(void); // get pointer to last char on screen
|
||||
static int count_lines(char *, char *); // count line from start to stop
|
||||
static char *find_line(int); // find begining of line #li
|
||||
static char *find_line(int); // find beginning of line #li
|
||||
static char *move_to_col(char *, int); // move "p" to column l
|
||||
static void dot_left(void); // move dot left- dont leave line
|
||||
static void dot_right(void); // move dot right- dont leave line
|
||||
@ -1684,10 +1684,10 @@ static char *dollar_line(char *p) // return pointer to just before NL line
|
||||
|
||||
static char *prev_line(char *p) // return pointer first char prev line
|
||||
{
|
||||
p = begin_line(p); // goto begining of cur line
|
||||
p = begin_line(p); // goto beginning of cur line
|
||||
if (p > text && p[-1] == '\n')
|
||||
p--; // step to prev line
|
||||
p = begin_line(p); // goto begining of prev line
|
||||
p = begin_line(p); // goto beginning of prev line
|
||||
return p;
|
||||
}
|
||||
|
||||
@ -1735,7 +1735,7 @@ static int count_lines(char *start, char *stop)
|
||||
return cnt;
|
||||
}
|
||||
|
||||
static char *find_line(int li) // find begining of line #li
|
||||
static char *find_line(int li) // find beginning of line #li
|
||||
{
|
||||
char *q;
|
||||
|
||||
@ -3357,7 +3357,7 @@ static void refresh(int full_screen)
|
||||
tp = t + 1;
|
||||
}
|
||||
|
||||
// see if there are any changes between vitual screen and out_buf
|
||||
// see if there are any changes between virtual screen and out_buf
|
||||
changed = FALSE; // assume no change
|
||||
cs = 0;
|
||||
ce = columns - 1;
|
||||
@ -3394,7 +3394,7 @@ static void refresh(int full_screen)
|
||||
if (cs < 0) cs = 0;
|
||||
if (ce > columns - 1) ce = columns - 1;
|
||||
if (cs > ce) { cs = 0; ce = columns - 1; }
|
||||
// is there a change between vitual screen and out_buf
|
||||
// is there a change between virtual screen and out_buf
|
||||
if (changed) {
|
||||
// copy changed part of buffer to virtual screen
|
||||
memcpy(sp+cs, out_buf+cs, ce-cs+1);
|
||||
@ -3844,7 +3844,7 @@ static void do_cmd(int c)
|
||||
}
|
||||
break;
|
||||
#endif /* FEATURE_VI_SEARCH */
|
||||
case '0': // 0- goto begining of line
|
||||
case '0': // 0- goto beginning of line
|
||||
case '1': // 1-
|
||||
case '2': // 2-
|
||||
case '3': // 3-
|
||||
|
@ -151,7 +151,7 @@ static void store_param(char *s)
|
||||
* is seen, store the address of a new parameter to args[].
|
||||
* If reading discovers that last chars do not form the complete
|
||||
* parameter, the pointer to the first such "tail character" is returned.
|
||||
* (buf has extra byte at the end to accomodate terminating NUL
|
||||
* (buf has extra byte at the end to accommodate terminating NUL
|
||||
* of "tail characters" string).
|
||||
* Otherwise, the returned pointer points to NUL byte.
|
||||
* On entry, buf[] may contain some "seed chars" which are to become
|
||||
|
@ -1848,7 +1848,7 @@ key and/or command line switch compatibility is a good idea:
|
||||
Most options may be changed either on the command line,
|
||||
or from within less by using the - or -- command.
|
||||
Options may be given in one of two forms: either a single
|
||||
character preceded by a -, or a name preceeded by --.
|
||||
character preceded by a -, or a name preceded by --.
|
||||
-? ........ --help
|
||||
Display help (from command line).
|
||||
-a ........ --search-skip-screen
|
||||
|
@ -119,7 +119,7 @@ typedef enum {
|
||||
#define ADDR_NORMAL_WIDTH 23
|
||||
/* When there are IPv6 connections the IPv6 addresses will be
|
||||
* truncated to none-recognition. The '-W' option makes the
|
||||
* address columns wide enough to accomodate for longest possible
|
||||
* address columns wide enough to accommodate for longest possible
|
||||
* IPv6 addresses, i.e. addresses of the form
|
||||
* xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:ddd.ddd.ddd.ddd
|
||||
*/
|
||||
|
@ -264,7 +264,7 @@ void singfunc(char * filename, char * line)
|
||||
vec[idx++] = KERNELDOC;
|
||||
vec[idx++] = DOCBOOK;
|
||||
|
||||
/* Split line up in individual parameters preceeded by FUNCTION */
|
||||
/* Split line up in individual parameters preceded by FUNCTION */
|
||||
for (i=0; line[i]; i++) {
|
||||
if (isspace(line[i])) {
|
||||
line[i] = '\0';
|
||||
|
@ -64,7 +64,7 @@ config RUNCON
|
||||
default n
|
||||
depends on SELINUX
|
||||
help
|
||||
Enable support to run command in speficied security context.
|
||||
Enable support to run command in specified security context.
|
||||
|
||||
config FEATURE_RUNCON_LONG_OPTIONS
|
||||
bool "Enable long options"
|
||||
|
@ -442,7 +442,7 @@ enum {
|
||||
MAYBE_ASSIGNMENT = 0,
|
||||
DEFINITELY_ASSIGNMENT = 1,
|
||||
NOT_ASSIGNMENT = 2,
|
||||
/* Not an assigment, but next word may be: "if v=xyz cmd;" */
|
||||
/* Not an assignment, but next word may be: "if v=xyz cmd;" */
|
||||
WORD_IS_KEYWORD = 3,
|
||||
};
|
||||
/* Used for initialization: o_string foo = NULL_O_STRING; */
|
||||
|
@ -66,7 +66,7 @@ struct reiserfs_super_block {
|
||||
|
||||
char s_magic[10]; /* 52 "ReIsErFs" or "ReIsEr2Fs" or "ReIsEr3Fs" */
|
||||
uint16_t sb_fs_state; /* 62 it is set to used by fsck to mark which phase of rebuilding is done (used for fsck debugging) */
|
||||
uint32_t sb_hash_function_code; /* 64 code of fuction which was/is/will be used to sort names in a directory. See codes in above */
|
||||
uint32_t sb_hash_function_code; /* 64 code of function which was/is/will be used to sort names in a directory. See codes in above */
|
||||
uint16_t sb_tree_height; /* 68 height of filesytem tree. Tree consisting of only one root block has 2 here */
|
||||
uint16_t sb_bmap_nr; /* 70 amount of bitmap blocks needed to address each block of file system */
|
||||
uint16_t sb_version; /* 72 this field is only reliable on filesystem with non-standard journal */
|
||||
|
Loading…
Reference in New Issue
Block a user