projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ls1043ardb: PPA: add PPA validation in case of secure boot
[oweals/u-boot.git]
/
tools
/
mkexynosspl.c
diff --git
a/tools/mkexynosspl.c
b/tools/mkexynosspl.c
index 32b786c724b205a5097fd2ece9291710b922926e..46195aad55ad0fd5e5c3dd56d77f2640063b6095 100644
(file)
--- a/
tools/mkexynosspl.c
+++ b/
tools/mkexynosspl.c
@@
-110,7
+110,7
@@
int main(int argc, char **argv)
}
ofd = open(argv[of_index], O_WRONLY | O_CREAT | O_TRUNC, FILE_PERM);
- if (
i
fd < 0) {
+ if (
o
fd < 0) {
fprintf(stderr, "%s: Can't open %s: %s\n",
prog_name, argv[of_index], strerror(errno));
exit(EXIT_FAILURE);