git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fiddling with ARP to handle routing
[tpg/acess2.git]
/
Modules
/
Filesystems
/
Ext2
/
ext2.c
diff --git
a/Modules/Filesystems/Ext2/ext2.c
b/Modules/Filesystems/Ext2/ext2.c
index
aa15e10
..
4a2aece
100644
(file)
--- a/
Modules/Filesystems/Ext2/ext2.c
+++ b/
Modules/Filesystems/Ext2/ext2.c
@@
-323,7
+323,7
@@
void Ext2_int_UpdateSuperblock(tExt2_Disk *Disk)
#define INT_MAX (((long long int)1<<(sizeof(int)*8))-1)
\r
\r
// Powers of 3
\r
#define INT_MAX (((long long int)1<<(sizeof(int)*8))-1)
\r
\r
// Powers of 3
\r
- for( i = 3; i < ngrp && i < INT_MAX; i *= 3 )
\r
+ for( i = 3; i < ngrp && i < INT_MAX
/3
; i *= 3 )
\r
VFS_WriteAt(Disk->FD, i*bpg*Disk->BlockSize, 1024, &Disk->SuperBlock);
\r
\r
// Powers of 5
\r
VFS_WriteAt(Disk->FD, i*bpg*Disk->BlockSize, 1024, &Disk->SuperBlock);
\r
\r
// Powers of 5
\r
UCC
git Repository :: git.ucc.asn.au