summaryrefslogtreecommitdiff
path: root/scripts/asn1_compiler.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2016-05-03 08:23:58 +0200
committerIngo Molnar <mingo@kernel.org>2016-05-03 08:23:58 +0200
commitb33f39e9d17dd7d636ebb38f9ce248f8a085ff49 (patch)
tree906da63259959326e15cbd3bff032125816d3234 /scripts/asn1_compiler.c
parentbf92b1feb658f6a262daf3a87d790997a1dca0ff (diff)
parent04974df8049fc4240d22759a91e035082ccd18b4 (diff)
Merge tag 'v4.6-rc6' into ras/core, to refresh the tree
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/asn1_compiler.c')
-rw-r--r--scripts/asn1_compiler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/asn1_compiler.c b/scripts/asn1_compiler.c
index e000f44e37b8..c1b7ef3e24c1 100644
--- a/scripts/asn1_compiler.c
+++ b/scripts/asn1_compiler.c
@@ -650,7 +650,7 @@ int main(int argc, char **argv)
}
hdr = fopen(headername, "w");
- if (!out) {
+ if (!hdr) {
perror(headername);
exit(1);
}