mirror of
https://github.com/troglobit/finit.git
synced 2026-10-08 08:24:43 +07: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
-1
@@ -280,7 +280,7 @@ static int fsck(int pass)
|
||||
sulogin(1);
|
||||
}
|
||||
}
|
||||
rc += fsck_rc;
|
||||
rc |= fsck_rc;
|
||||
}
|
||||
|
||||
endmntent(fp);
|
||||
|
||||
Reference in New Issue
Block a user