Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ioping
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ioping
Commits
f11967da
Commit
f11967da
authored
Aug 16, 2011
by
Konstantin Khlebnikov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ioping: fix 32-bit aio
Signed-off-by:
Konstantin Khlebnikov
<
koct9i@gmail.com
>
parent
39dd9103
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ioping.c
ioping.c
+1
-1
No files found.
ioping.c
View file @
f11967da
...
@@ -446,7 +446,7 @@ static ssize_t aio_pread(int fd, void *buf, size_t nbytes, off_t offset)
...
@@ -446,7 +446,7 @@ static ssize_t aio_pread(int fd, void *buf, size_t nbytes, off_t offset)
{
{
aio_cb
.
aio_lio_opcode
=
IOCB_CMD_PREAD
;
aio_cb
.
aio_lio_opcode
=
IOCB_CMD_PREAD
;
aio_cb
.
aio_fildes
=
fd
;
aio_cb
.
aio_fildes
=
fd
;
aio_cb
.
aio_buf
=
(
unsigned
long
long
)
buf
;
aio_cb
.
aio_buf
=
(
unsigned
long
)
buf
;
aio_cb
.
aio_nbytes
=
nbytes
;
aio_cb
.
aio_nbytes
=
nbytes
;
aio_cb
.
aio_offset
=
offset
;
aio_cb
.
aio_offset
=
offset
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment