projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
patman: Suppress empty changelog entries
[oweals/u-boot.git]
/
tools
/
mkexynosspl.c
diff --git
a/tools/mkexynosspl.c
b/tools/mkexynosspl.c
index 32b786c724b205a5097fd2ece9291710b922926e..53122b8614a08ff39625e926204f43a7a182da08 100644
(file)
--- a/
tools/mkexynosspl.c
+++ b/
tools/mkexynosspl.c
@@
-1,7
+1,6
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2012 Samsung Electronics
/*
* Copyright (C) 2012 Samsung Electronics
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <stdio.h>
*/
#include <stdio.h>
@@
-110,7
+109,7
@@
int main(int argc, char **argv)
}
ofd = open(argv[of_index], O_WRONLY | O_CREAT | O_TRUNC, FILE_PERM);
}
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);
fprintf(stderr, "%s: Can't open %s: %s\n",
prog_name, argv[of_index], strerror(errno));
exit(EXIT_FAILURE);