diff options
author | timr <timr@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-01-25 00:08:53 +0000 |
---|---|---|
committer | timr <timr@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-01-25 00:08:53 +0000 |
commit | fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586 (patch) | |
tree | 5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /e2fsprogs/e2p | |
parent | 45d75f9ecc8f2b582407059da7d414f990ced68a (diff) | |
download | busybox-w32-fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586.tar.gz busybox-w32-fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586.tar.bz2 busybox-w32-fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586.zip |
just whitespace
git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'e2fsprogs/e2p')
-rw-r--r-- | e2fsprogs/e2p/feature.c | 6 | ||||
-rw-r--r-- | e2fsprogs/e2p/fgetsetversion.c | 6 | ||||
-rw-r--r-- | e2fsprogs/e2p/hashstr.c | 6 | ||||
-rw-r--r-- | e2fsprogs/e2p/ls.c | 6 | ||||
-rw-r--r-- | e2fsprogs/e2p/mntopts.c | 6 | ||||
-rw-r--r-- | e2fsprogs/e2p/ostype.c | 10 | ||||
-rw-r--r-- | e2fsprogs/e2p/parse_num.c | 20 | ||||
-rw-r--r-- | e2fsprogs/e2p/pf.c | 2 | ||||
-rw-r--r-- | e2fsprogs/e2p/uuid.c | 4 |
9 files changed, 33 insertions, 33 deletions
diff --git a/e2fsprogs/e2p/feature.c b/e2fsprogs/e2p/feature.c index fe6016102..0a9058384 100644 --- a/e2fsprogs/e2p/feature.c +++ b/e2fsprogs/e2p/feature.c | |||
@@ -1,11 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * feature.c --- convert between features and strings | 2 | * feature.c --- convert between features and strings |
3 | * | 3 | * |
4 | * Copyright (C) 1999 Theodore Ts'o <tytso@mit.edu> | 4 | * Copyright (C) 1999 Theodore Ts'o <tytso@mit.edu> |
5 | * | 5 | * |
6 | * This file can be redistributed under the terms of the GNU Library General | 6 | * This file can be redistributed under the terms of the GNU Library General |
7 | * Public License | 7 | * Public License |
8 | * | 8 | * |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <stdio.h> | 11 | #include <stdio.h> |
diff --git a/e2fsprogs/e2p/fgetsetversion.c b/e2fsprogs/e2p/fgetsetversion.c index dcf127c26..8227ab3be 100644 --- a/e2fsprogs/e2p/fgetsetversion.c +++ b/e2fsprogs/e2p/fgetsetversion.c | |||
@@ -33,11 +33,11 @@ | |||
33 | #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK) | 33 | #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK) |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | /* | 36 | /* |
37 | To do fsetversion: unsigned long *ptr_version must be set to NULL. | 37 | To do fsetversion: unsigned long *ptr_version must be set to NULL. |
38 | and unsigned long version must be set to a value | 38 | and unsigned long version must be set to a value |
39 | To do fgetversion: unsigned long *ptr_version must NOT be set to NULL | 39 | To do fgetversion: unsigned long *ptr_version must NOT be set to NULL |
40 | and unsigned long version is ignored. | 40 | and unsigned long version is ignored. |
41 | TITO. | 41 | TITO. |
42 | */ | 42 | */ |
43 | 43 | ||
diff --git a/e2fsprogs/e2p/hashstr.c b/e2fsprogs/e2p/hashstr.c index c4b3f9fd5..705f63ae0 100644 --- a/e2fsprogs/e2p/hashstr.c +++ b/e2fsprogs/e2p/hashstr.c | |||
@@ -1,11 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * feature.c --- convert between features and strings | 2 | * feature.c --- convert between features and strings |
3 | * | 3 | * |
4 | * Copyright (C) 1999 Theodore Ts'o <tytso@mit.edu> | 4 | * Copyright (C) 1999 Theodore Ts'o <tytso@mit.edu> |
5 | * | 5 | * |
6 | * This file can be redistributed under the terms of the GNU Library General | 6 | * This file can be redistributed under the terms of the GNU Library General |
7 | * Public License | 7 | * Public License |
8 | * | 8 | * |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <stdio.h> | 11 | #include <stdio.h> |
diff --git a/e2fsprogs/e2p/ls.c b/e2fsprogs/e2p/ls.c index 71f8f5126..0c91345e1 100644 --- a/e2fsprogs/e2p/ls.c +++ b/e2fsprogs/e2p/ls.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * Universite Pierre et Marie Curie (Paris VI) | 6 | * Universite Pierre et Marie Curie (Paris VI) |
7 | * | 7 | * |
8 | * Copyright (C) 1995, 1996, 1997 Theodore Ts'o <tytso@mit.edu> | 8 | * Copyright (C) 1995, 1996, 1997 Theodore Ts'o <tytso@mit.edu> |
9 | * | 9 | * |
10 | * This file can be redistributed under the terms of the GNU Library General | 10 | * This file can be redistributed under the terms of the GNU Library General |
11 | * Public License | 11 | * Public License |
12 | */ | 12 | */ |
@@ -190,11 +190,11 @@ void list_super2(struct ext2_super_block * sb, FILE *f) | |||
190 | "Block size: %u\n" | 190 | "Block size: %u\n" |
191 | "Fragment size: %u\n", | 191 | "Fragment size: %u\n", |
192 | str, sb->s_inodes_count, sb->s_blocks_count, sb->s_r_blocks_count, | 192 | str, sb->s_inodes_count, sb->s_blocks_count, sb->s_r_blocks_count, |
193 | sb->s_free_blocks_count, sb->s_free_inodes_count, | 193 | sb->s_free_blocks_count, sb->s_free_inodes_count, |
194 | sb->s_first_data_block, EXT2_BLOCK_SIZE(sb), EXT2_FRAG_SIZE(sb)); | 194 | sb->s_first_data_block, EXT2_BLOCK_SIZE(sb), EXT2_FRAG_SIZE(sb)); |
195 | free(str); | 195 | free(str); |
196 | if (sb->s_reserved_gdt_blocks) | 196 | if (sb->s_reserved_gdt_blocks) |
197 | fprintf(f, "Reserved GDT blocks: %u\n", | 197 | fprintf(f, "Reserved GDT blocks: %u\n", |
198 | sb->s_reserved_gdt_blocks); | 198 | sb->s_reserved_gdt_blocks); |
199 | fprintf(f, | 199 | fprintf(f, |
200 | "Blocks per group: %u\n" | 200 | "Blocks per group: %u\n" |
diff --git a/e2fsprogs/e2p/mntopts.c b/e2fsprogs/e2p/mntopts.c index 562a9ccc1..b27f78ed9 100644 --- a/e2fsprogs/e2p/mntopts.c +++ b/e2fsprogs/e2p/mntopts.c | |||
@@ -1,11 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * mountopts.c --- convert between default mount options and strings | 2 | * mountopts.c --- convert between default mount options and strings |
3 | * | 3 | * |
4 | * Copyright (C) 2002 Theodore Ts'o <tytso@mit.edu> | 4 | * Copyright (C) 2002 Theodore Ts'o <tytso@mit.edu> |
5 | * | 5 | * |
6 | * This file can be redistributed under the terms of the GNU Library General | 6 | * This file can be redistributed under the terms of the GNU Library General |
7 | * Public License | 7 | * Public License |
8 | * | 8 | * |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <stdio.h> | 11 | #include <stdio.h> |
diff --git a/e2fsprogs/e2p/ostype.c b/e2fsprogs/e2p/ostype.c index 1084abde2..46230631e 100644 --- a/e2fsprogs/e2p/ostype.c +++ b/e2fsprogs/e2p/ostype.c | |||
@@ -11,10 +11,10 @@ | |||
11 | #include <string.h> | 11 | #include <string.h> |
12 | 12 | ||
13 | static const char * const os_tab[] = | 13 | static const char * const os_tab[] = |
14 | { "Linux", | 14 | { "Linux", |
15 | "Hurd", | 15 | "Hurd", |
16 | "Masix", | 16 | "Masix", |
17 | "FreeBSD", | 17 | "FreeBSD", |
18 | "Lites", | 18 | "Lites", |
19 | 0 }; | 19 | 0 }; |
20 | 20 | ||
@@ -53,7 +53,7 @@ int e2p_string2os(char *str) | |||
53 | #ifdef TEST_PROGRAM | 53 | #ifdef TEST_PROGRAM |
54 | int main(int argc, char **argv) | 54 | int main(int argc, char **argv) |
55 | { | 55 | { |
56 | char *s; | 56 | char *s; |
57 | int i, os; | 57 | int i, os; |
58 | 58 | ||
59 | for (i=0; i <= EXT2_OS_LITES; i++) { | 59 | for (i=0; i <= EXT2_OS_LITES; i++) { |
diff --git a/e2fsprogs/e2p/parse_num.c b/e2fsprogs/e2p/parse_num.c index 3910e70de..81c160544 100644 --- a/e2fsprogs/e2p/parse_num.c +++ b/e2fsprogs/e2p/parse_num.c | |||
@@ -1,8 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * parse_num.c - Parse the number of blocks | 2 | * parse_num.c - Parse the number of blocks |
3 | * | 3 | * |
4 | * Copyright (C) 2004,2005 Theodore Ts'o <tytso@mit.edu> | 4 | * Copyright (C) 2004,2005 Theodore Ts'o <tytso@mit.edu> |
5 | * | 5 | * |
6 | * This file can be redistributed under the terms of the GNU Library General | 6 | * This file can be redistributed under the terms of the GNU Library General |
7 | * Public License | 7 | * Public License |
8 | */ | 8 | */ |
@@ -18,25 +18,25 @@ unsigned long parse_num_blocks(const char *arg, int log_block_size) | |||
18 | 18 | ||
19 | num = strtoull(arg, &p, 0); | 19 | num = strtoull(arg, &p, 0); |
20 | 20 | ||
21 | if (p[0] && p[1]) | 21 | if (p[0] && p[1]) |
22 | return 0; | 22 | return 0; |
23 | 23 | ||
24 | switch (*p) { /* Using fall-through logic */ | 24 | switch (*p) { /* Using fall-through logic */ |
25 | case 'T': case 't': | 25 | case 'T': case 't': |
26 | num <<= 10; | 26 | num <<= 10; |
27 | case 'G': case 'g': | 27 | case 'G': case 'g': |
28 | num <<= 10; | 28 | num <<= 10; |
29 | case 'M': case 'm': | 29 | case 'M': case 'm': |
30 | num <<= 10; | 30 | num <<= 10; |
31 | case 'K': case 'k': | 31 | case 'K': case 'k': |
32 | num >>= log_block_size; | 32 | num >>= log_block_size; |
33 | break; | 33 | break; |
34 | case 's': | 34 | case 's': |
35 | num >>= 1; | 35 | num >>= 1; |
36 | break; | 36 | break; |
37 | case '\0': | 37 | case '\0': |
38 | break; | 38 | break; |
39 | default: | 39 | default: |
40 | return 0; | 40 | return 0; |
41 | } | 41 | } |
42 | return num; | 42 | return num; |
diff --git a/e2fsprogs/e2p/pf.c b/e2fsprogs/e2p/pf.c index 2194ac6bf..da8357a46 100644 --- a/e2fsprogs/e2p/pf.c +++ b/e2fsprogs/e2p/pf.c | |||
@@ -41,7 +41,7 @@ static const struct flags_name flags_array[] = { | |||
41 | { EXT2_ECOMPR_FL, "E", "Compression_Error" }, | 41 | { EXT2_ECOMPR_FL, "E", "Compression_Error" }, |
42 | #endif | 42 | #endif |
43 | { EXT3_JOURNAL_DATA_FL, "j", "Journaled_Data" }, | 43 | { EXT3_JOURNAL_DATA_FL, "j", "Journaled_Data" }, |
44 | { EXT2_INDEX_FL, "I", "Indexed_direcctory" }, | 44 | { EXT2_INDEX_FL, "I", "Indexed_direcctory" }, |
45 | { EXT2_NOTAIL_FL, "t", "No_Tailmerging" }, | 45 | { EXT2_NOTAIL_FL, "t", "No_Tailmerging" }, |
46 | { EXT2_TOPDIR_FL, "T", "Top_of_Directory_Hierarchies" }, | 46 | { EXT2_TOPDIR_FL, "T", "Top_of_Directory_Hierarchies" }, |
47 | { 0, NULL, NULL } | 47 | { 0, NULL, NULL } |
diff --git a/e2fsprogs/e2p/uuid.c b/e2fsprogs/e2p/uuid.c index 9feca4cfa..cb4ec8072 100644 --- a/e2fsprogs/e2p/uuid.c +++ b/e2fsprogs/e2p/uuid.c | |||
@@ -19,7 +19,7 @@ struct uuid { | |||
19 | /* Returns 1 if the uuid is the NULL uuid */ | 19 | /* Returns 1 if the uuid is the NULL uuid */ |
20 | int e2p_is_null_uuid(void *uu) | 20 | int e2p_is_null_uuid(void *uu) |
21 | { | 21 | { |
22 | __u8 *cp; | 22 | __u8 *cp; |
23 | int i; | 23 | int i; |
24 | 24 | ||
25 | for (i=0, cp = uu; i < 16; i++) | 25 | for (i=0, cp = uu; i < 16; i++) |
@@ -42,7 +42,7 @@ static void e2p_unpack_uuid(void *in, struct uuid *uu) | |||
42 | tmp = *ptr++; | 42 | tmp = *ptr++; |
43 | tmp = (tmp << 8) | *ptr++; | 43 | tmp = (tmp << 8) | *ptr++; |
44 | uu->time_mid = tmp; | 44 | uu->time_mid = tmp; |
45 | 45 | ||
46 | tmp = *ptr++; | 46 | tmp = *ptr++; |
47 | tmp = (tmp << 8) | *ptr++; | 47 | tmp = (tmp << 8) | *ptr++; |
48 | uu->time_hi_and_version = tmp; | 48 | uu->time_hi_and_version = tmp; |