Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gptfdisk
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
external
gptfdisk
Commits
05760b7f
Commit
05760b7f
authored
10 years ago
by
Jeff Sharkey
Browse files
Options
Downloads
Patches
Plain Diff
Use off64_t for large devices on 32-bit kernels.
Change-Id: Ie921a4fc9be4467c760dc13b8d1ed7edfc2ba8b0
parent
873988ad
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
diskio-unix.cc
+1
-1
1 addition, 1 deletion
diskio-unix.cc
with
1 addition
and
1 deletion
diskio-unix.cc
+
1
−
1
View file @
05760b7f
...
...
@@ -271,7 +271,7 @@ int DiskIO::DiskSync(void) {
// Note that seeking beyond the end of the file is NOT detected as a failure!
int
DiskIO
::
Seek
(
uint64_t
sector
)
{
int
retval
=
1
;
off_t
seekTo
,
sought
;
off
64
_t
seekTo
,
sought
;
// If disk isn't open, try to open it....
if
(
!
isOpen
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment