Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
5302e657
Commit
5302e657
authored
Mar 03, 2006
by
Uwe Schulzweida
Browse files
No commit message
No commit message
parent
763c4712
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/file.c
View file @
5302e657
...
...
@@ -886,7 +886,7 @@ static int file_fill_buffer(F_I_L_E *fileptr)
fileptr
->
buffer
=
(
char
*
)
mmap
(
0
,
(
size_t
)
nread
,
PROT_READ
,
MAP_SHARED
,
fd
,
fileptr
->
bufferPos
);
if
(
(
int
)
fileptr
->
buffer
==
-
1
)
if
(
fileptr
->
buffer
==
(
void
*
)
-
1
)
SysError
(
func
,
"mmap error for read %s"
,
fileptr
->
name
);
offset
=
fileptr
->
position
-
fileptr
->
bufferPos
;
...
...
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