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
852efe69
Commit
852efe69
authored
Jun 01, 2011
by
Konstantin Khlebnikov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup
parent
a3d52a18
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 @
852efe69
...
@@ -372,7 +372,7 @@ int main (int argc, char **argv)
...
@@ -372,7 +372,7 @@ int main (int argc, char **argv)
if
(
unlink
(
temp
))
if
(
unlink
(
temp
))
err
(
1
,
"unlink
\"
%s
\"
failed"
,
temp
);
err
(
1
,
"unlink
\"
%s
\"
failed"
,
temp
);
if
(
fcntl
(
fd
,
F_SETFL
,
flags
))
if
(
fcntl
(
fd
,
F_SETFL
,
flags
))
err
(
"fcntl failed, please retry without -D"
);
err
(
1
,
"fcntl failed, please retry without -D"
);
for
(
woffset
=
0
;
woffset
+
size
<=
wsize
;
woffset
+=
size
)
{
for
(
woffset
=
0
;
woffset
+
size
<=
wsize
;
woffset
+=
size
)
{
if
(
pwrite
(
fd
,
buf
,
size
,
offset
+
woffset
)
!=
size
)
if
(
pwrite
(
fd
,
buf
,
size
,
offset
+
woffset
)
!=
size
)
err
(
1
,
"write failed"
);
err
(
1
,
"write failed"
);
...
...
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