aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/old_e2fsprogs/mke2fs.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-07-21 15:08:09 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-07-21 15:08:09 +0000
commitb71c668c577f7780362f7ea632895c11e3760d66 (patch)
tree860ccf38cce8c5347ae2b714a22b82a1d7dba323 /e2fsprogs/old_e2fsprogs/mke2fs.c
parent82bd9ee64546c4f6f60303f6356377ce6b695a06 (diff)
downloadbusybox-w32-b71c668c577f7780362f7ea632895c11e3760d66.tar.gz
busybox-w32-b71c668c577f7780362f7ea632895c11e3760d66.tar.bz2
busybox-w32-b71c668c577f7780362f7ea632895c11e3760d66.zip
style fix (stray space before ';')
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/mke2fs.c')
-rw-r--r--e2fsprogs/old_e2fsprogs/mke2fs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/e2fsprogs/old_e2fsprogs/mke2fs.c b/e2fsprogs/old_e2fsprogs/mke2fs.c
index 9ea5d5c92..c1deefdb7 100644
--- a/e2fsprogs/old_e2fsprogs/mke2fs.c
+++ b/e2fsprogs/old_e2fsprogs/mke2fs.c
@@ -59,14 +59,14 @@ static char *creator_os;
59static char *volume_label; 59static char *volume_label;
60static char *mount_dir; 60static char *mount_dir;
61static char *journal_device = NULL; 61static char *journal_device = NULL;
62static int sync_kludge; /* Set using the MKE2FS_SYNC env. option */ 62static int sync_kludge; /* Set using the MKE2FS_SYNC env. option */
63 63
64static int sys_page_size = 4096; 64static int sys_page_size = 4096;
65static int linux_version_code = 0; 65static int linux_version_code = 0;
66 66
67static int int_log2(int arg) 67static int int_log2(int arg)
68{ 68{
69 int l = 0; 69 int l = 0;
70 70
71 arg >>= 1; 71 arg >>= 1;
72 while (arg) { 72 while (arg) {
@@ -80,7 +80,7 @@ static int int_log10(unsigned int arg)
80{ 80{
81 int l; 81 int l;
82 82
83 for (l=0; arg ; l++) 83 for (l = 0; arg; l++)
84 arg = arg / 10; 84 arg = arg / 10;
85 return l; 85 return l;
86} 86}
@@ -1226,7 +1226,7 @@ int mke2fs_main (int argc, char **argv)
1226 * don't check all the filesystems at the same time. We use a 1226 * don't check all the filesystems at the same time. We use a
1227 * kludgy hack of using the UUID to derive a random jitter value. 1227 * kludgy hack of using the UUID to derive a random jitter value.
1228 */ 1228 */
1229 for (i = 0, val = 0 ; i < sizeof(fs->super->s_uuid); i++) 1229 for (i = 0, val = 0; i < sizeof(fs->super->s_uuid); i++)
1230 val += fs->super->s_uuid[i]; 1230 val += fs->super->s_uuid[i];
1231 fs->super->s_max_mnt_count += val % EXT2_DFL_MAX_MNT_COUNT; 1231 fs->super->s_max_mnt_count += val % EXT2_DFL_MAX_MNT_COUNT;
1232 1232