Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
magic-lantern
magic-lantern
Commits
daa054e6618f
Commit
5a17b7e3
authored
Jul 07, 2011
by
a1ex
Browse files
my_fprintf fix
--HG-- branch : unified
parent
36758044b5eb
Changes
1
Show whitespace changes
Inline
Side-by-side
src/stdio.c
View file @
daa054e6
...
...
@@ -25,7 +25,7 @@ my_fprintf(
char
*
buf
=
alloc_dma_memory
(
256
);
va_start
(
ap
,
fmt
);
int
len
=
vsnprintf
(
buf
,
sizeof
(
buf
)
,
fmt
,
ap
);
int
len
=
vsnprintf
(
buf
,
256
,
fmt
,
ap
);
va_end
(
ap
);
FIO_WriteFile
(
file
,
buf
,
len
);
...
...
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