diff options
Diffstat (limited to 'arch/alpha/boot')
-rw-r--r-- | arch/alpha/boot/tools/objstrip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/boot/tools/objstrip.c b/arch/alpha/boot/tools/objstrip.c index ef1838230291..9d0727d18aee 100644 --- a/arch/alpha/boot/tools/objstrip.c +++ b/arch/alpha/boot/tools/objstrip.c | |||
@@ -93,7 +93,7 @@ main (int argc, char *argv[]) | |||
93 | ofd = 1; | 93 | ofd = 1; |
94 | if (i < argc) { | 94 | if (i < argc) { |
95 | ofd = open(argv[i++], O_WRONLY | O_CREAT | O_TRUNC, 0666); | 95 | ofd = open(argv[i++], O_WRONLY | O_CREAT | O_TRUNC, 0666); |
96 | if (fd == -1) { | 96 | if (ofd == -1) { |
97 | perror("open"); | 97 | perror("open"); |
98 | exit(1); | 98 | exit(1); |
99 | } | 99 | } |