Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Sunxi Tools
Commits
a8054dfa
Commit
a8054dfa
authored
Apr 20, 2016
by
Bernhard Nortmann
Browse files
fel: Remove surplus colons on perror() messages
Signed-off-by:
Bernhard Nortmann
<
bernhard.nortmann@web.de
>
parent
b4aab6ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
fel.c
View file @
a8054dfa
...
...
@@ -354,7 +354,7 @@ int save_file(const char *name, void *data, size_t size)
FILE
*
out
=
fopen
(
name
,
"wb"
);
int
rc
;
if
(
!
out
)
{
perror
(
"Failed to open output file
:
"
);
perror
(
"Failed to open output file"
);
exit
(
1
);
}
rc
=
fwrite
(
data
,
size
,
1
,
out
);
...
...
@@ -373,7 +373,7 @@ void *load_file(const char *name, size_t *size)
else
in
=
fopen
(
name
,
"rb"
);
if
(
!
in
)
{
perror
(
"Failed to open input file
:
"
);
perror
(
"Failed to open input file"
);
exit
(
1
);
}
...
...
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