-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up and fix file_length_impl for blockdevs on linux
Only try BLKGETSIZE on blockdevs, use BLKGETSIZE64 instead of BLKGETSIZE, store BLKGETSIZE64 a u64 and then "as _" at point-of-use (musl). Closes: #155
- Loading branch information
1 parent
7e39628
commit 9e6fcd1
Showing
2 changed files
with
11 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters