mirror of
https://github.com/troglobit/finit.git
synced 2026-11-10 16:31:21 +00:00
Fix possible overflow in return value
Found by Coverity Scan Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -280,7 +280,7 @@ static int fsck(int pass)
|
|||||||
sulogin(1);
|
sulogin(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rc += fsck_rc;
|
rc |= fsck_rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
endmntent(fp);
|
endmntent(fp);
|
||||||
|
|||||||
Reference in new issue
Block a user