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
de158a92
Commit
de158a92
authored
Jun 14, 2012
by
Alejandro Mery
Browse files
fexc: fix error returning (closes #2)
parent
8fcf5def
Changes
2
Hide whitespace changes
Inline
Side-by-side
fexc.c
View file @
de158a92
...
...
@@ -27,7 +27,7 @@
#include <fcntl.h>
#define pr_info(...) errf("fexc: " __VA_ARGS__)
#define pr_err(...)
pr_info("E
: " __VA_ARGS__)
#define pr_err(...)
errf("E: fexc
: " __VA_ARGS__)
enum
script_format
{
FEX_SCRIPT_FORMAT
,
...
...
@@ -197,8 +197,7 @@ static inline int script_generate(enum script_format format,
break
;
}
}
if
(
bin_size
==
0
)
ret
=
0
;
ret
=
(
bin_size
==
0
);
}
free
(
bin
);
close
(
out
);
...
...
script_fex.c
View file @
de158a92
...
...
@@ -142,7 +142,7 @@ int script_generate_fex(FILE *out, const char *UNUSED(filename),
}
fputc
(
'\n'
,
out
);
}
return
0
;
return
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