public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13097db
)
fsck: fix wrong check
author
Alan Cox
<alan@linux.intel.com>
Sun, 13 Nov 2016 00:09:59 +0000
(
00:09
+0000)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 13 Nov 2016 00:09:59 +0000
(
00:09
+0000)
Applications/util/fsck.c
patch
|
blob
|
history
diff --git
a/Applications/util/fsck.c
b/Applications/util/fsck.c
index
72acab2
..
5a43173
100644
(file)
--- a/
Applications/util/fsck.c
+++ b/
Applications/util/fsck.c
@@
-166,7
+166,7
@@
void pass1(void)
++icount;
/* Check size */
- if (swizzle32(ino.i_size) < 0) {
+ if (
(int32_t)
swizzle32(ino.i_size) < 0) {
printf("Inode %d offset is negative with value of %ld. Fix? ",
n, (long)swizzle32(ino.i_size));
if (yes()) {